TLDR Dev · OPINIONS & ADVICE

JSDOC *IS* TYPESCRIPT

culi.bearblog.dev4 min read

Summary from the TLDR Dev newsletter

Svelte's move to JSDoc for type declarations was not a rejection of TypeScript. Rather, JSDoc should be understood as an inherent part of TypeScript itself. This is because the TypeScript language service powers the static analysis and IntelliSense for both `.ts` files and JSDoc comments, making them two sides of the same coin.