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

Transpiling from an untyped language to a typed one would give you horrid results in most cases. The practical way would be to use TypeScript to compile your program (JavaScript programs compile fine with TypeScript) and start to manually transform your JavaScript code to add objects and types.

That said, that would be a really cool tool to have...






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

Search: