4 ms·
Even if the usual toolchain of web development doesn't get bloated too much from an additional step of transpiling typescript to javascript, this would be a wel
by raxxorrax 5y ago
Even if the usual toolchain of web development doesn't get bloated too much from an additional step of transpiling typescript to javascript, this would be a welcome addition for those that use tiny bits of javascript here and there. I have small apps where I don't minify the code because it just isn't worth the trouble. But having type checks would make it less error prone.
- krapp 5y agoIf you're just using tiny bits of javascript here and there, you probably don't need to type check anything, or at the very least you can do so manually. People wrote complex plugins and scripts in javascript for years without syntax additions and tooling to enforce a degree of type strictness that the language doesn't even need most of the time.