2 ms·
Having TypeScript support in the browser doesn't make sense as the idea behind TypeScript is to add a compilation step so that type errors can be caught at comp
by z3t4 8y ago
Having TypeScript support in the browser doesn't make sense as the idea behind TypeScript is to add a compilation step so that type errors can be caught at compilation time. eg. before the code runs.
- dsego 8y agoThe browser still has to parse the JS code before executing it. It will complain if you get the syntax wrong, type checking is the same thing.