Big projects are ditching TypeScript… wtf? - The Code Report

ruffsl@programming.dev to Programming@programming.dev – 57 points –
Big projects are ditching TypeScript… wtf?
youtube.com
45

You are viewing a single comment

Too be frank, it is pretty short but your summary is on-point. I would only add, that Svelte also dropped it due to the additional compile step.

However TS can still be used in most of the frameworks including Svelte.

I wonder how Svelte's code is built to make this tradeoff worth it. I've been using TS for a long time and in every project the compilation part was the shortest task in the whole build process, especially when you compare it with bundling or running unit tests.

If that's what this video is about then it's a lie (I'm not going to watch that bait). Svelte did not move away from Typescript. Svelte just moved from TSs custom syntax to TS-in-JSDoc. They are still using the same types and TS compiler to fully enforce type checking their code.

Their reason isn't that TS is bad, just that the IDE experience is bad redirecting you to .d.ts instead of source files for libraries.

Afaik it had more to do with another layer of abstraction then with compike time.