Hacker News new | ask | show | jobs
by forgottenacc56 3561 days 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".

2 comments

I 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.
I have not encountered this problem. Can you provide an example?
I'm guessing he/she is referring to using .ts instead of .js