| ▲ | lelanthran 7 hours ago | |||||||||||||
So? If supported natively by the browser the browser could compile it on download. You'll still get all the strong typing without have to wait for it to run. For example an error in a little used branch would cause an error before the branch even runs. | ||||||||||||||
| ▲ | Vinnl 5 hours ago | parent | next [-] | |||||||||||||
So then the user gets a type error in their face instead of the page loading? That doesn't really sound better than the developer getting that error while writing the code, which is what TypeScript currently does. | ||||||||||||||
| ||||||||||||||
| ▲ | 6 hours ago | parent | prev [-] | |||||||||||||
| [deleted] | ||||||||||||||