Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well `tsc` is the program that "strips" types after checking them. To be clear what you're asking for is a JavaScript runtime that supports parsing types but ignoring any errors it finds? Is there any computer programing language that has this behavior?


Python, pretty much exactly.


Babel can do this if you wish to only strip TS extensions without typechecking.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: