|
|
|
|
|
by smt88
2803 days ago
|
|
You're wrong. Once you transpile the TS, you have standardized ECMAScript. Want to stop using TS? No problem. Just delete your TS files and work from your JS files. And, beyond that, TS is intended to be a superset -- never incompatible, just "extra". Finally, you can use TypeScript the same way Flow is used, through comments. Tying yourself to TS isn't really something you can do, and there's zero risk in using it. You can always throw it out later. |
|
This is quite an irresponsible comment.
The JS code generated isn't really meant for editing especially if you used a feature that isn't present on the runtime (like async/await in browser), not to mention all the formatting is rearranged.
If you're willing to go back to JS, you want to keep the original source.