2 ms·
That's a pretty obtuse interpretation of the comment. Browsers natively being able to run Typescript code / .ts files instead of requiring transpiling to plain
by dtech 2y ago
That's a pretty obtuse interpretation of the comment. Browsers natively being able to run Typescript code / .ts files instead of requiring transpiling to plain Javascript would be a large boon to the TS ecosystem by making basically everything easier. Even if it's just stripping the TS and running the plain JS it would already be helpful, but it running the typechecking beforehand would be wonderful.
- crabmusket 2y agoMaybe I was reading too much into the comment I replied to, but to me "a typescript engine" implied more than "ignoring the types" (which is the current TC39 proposal). And I was replying based on what I've seen other people saying whenever the subject comes up; apologies if I misread. Browsers doing type checking is a pretty fraught idea IMO, at least with Typescript and not some other statically typed language entirely.