TS is compiled to JS, so the JS interpreter isn't privy to the type information. TS is basically a robust static analysis tool
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
TS is compiled to JS, so the JS interpreter isn't privy to the type information. TS is basically a robust static analysis tool