JS doc is not new and it's not like a TypeScript. It didn't exist as a TypeScript thing, even or even a JavaScript typing thing. I remember early on being sort of confused by what all this stuff was. As a consumer of it, I'm always happy to have it. But I never wanted to write it myself because I was always turned off by just how much space it took up.
In this episode of Syntax, Wes and Scott use the fact that Svelte is being converted from TypeScript to JavaScript with JSDoc to talk about the benefits of working that way, why they are doing it, and what you can do with JSDoc that TypeScript alone doesn’t let you do.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats