3 ms·
This 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
by bcherny 10y ago
This 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.