Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
z3t4
7y ago
0 comments
Share
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.
0 comments
default
newest
oldest
dsego
7y ago
The 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.
j
/
k
navigate · click thread line to collapse