3 ms·
Agreed – this may now be my top reason not to use TypeScript (followed by inadequate inference / support for gradual typing, differences from Babel, and a few r
by rattray 10y ago
Agreed – this may now be my top reason not to use TypeScript (followed by inadequate inference / support for gradual typing, differences from Babel, and a few random features), which I would otherwise very much like to use.
- bcherny 10y agoThis is a poor reason to not use TS. If in the unlikely worst case scenario the TS team drops/renames the ! syntax at some point, given that these are compile time checks, you will just manually go through a list of compile time errors and fix the issues one by one. More likely scenarios: - They will make the change in a backwards-compatible way - They will release a jscodeshift script to do the upgrade for you - Etc.
- rattray 10y agoOkay, fair. Perhaps I overreacted. I think the general idea of adding syntax outside of declarations really rubs me the wrong way, but perhaps it shouldn't.