🌶️ Why ditch TS for JSDoc?

preview_player
Показать описание
Svelte switched from TypeScript to JSDoc for their core libraries. I think other library maintainers should follow their lead!

#programming #webdevelopment #beginner #whiteboardtheweb
Рекомендации по теме
Комментарии
Автор

The type safety that TS provides is insane. And if your infrastructure is capable enough, which is always the case if you use a modern environment, then using TS is not much different from using JS. It's just a file extension. And having tsc provide you with advice is a massive boon.

flix
Автор

It's honestly absurd that more people don't know about JSDoc. If you use proper documentation for your JavaScript, there's really not much you need to use TypeScript for.

CottidaeSEA