3 ms·
I would have switched to typescript but I had to rename EVERYTHING from something to something else in order to use TypeScript. If that's how "compatible" start
by forgottenacc56 10y ago
I would have switched to typescript but I had to rename EVERYTHING from something to something else in order to use TypeScript. If that's how "compatible" starts, well, no thanks cause clearly that's just the start of the pain.
Compatible should be same files, new compiler = "just works".
- Allower 10y agowhat? this makes no sense. Typescript is just a superset of javascript. you wouldnt have to rename anything..
- whatever_dude 10y agoI have not encountered this problem. Can you provide an example?
- Bahamut 10y agoI'm guessing he/she is referring to using .ts instead of .js
- nojvek 10y agoI am actually just working on this. Being able to add commented types to a javascript file and being able to use typescript for type validation.