Michael Landis
Feb 12, 2024

Saying that JSDocs are an improvement, when they're just a replication of TypeScript but in comments instead of types, seems like a huge gloss-over.

Sure, you don't need to compile the JS, and you can ignore them entirely, but you can keep everything untyped in TypeScript, too. JSDocs are only useful for typing if you use them... and then you're doing the same work as TypeScript.

Michael Landis
Michael Landis

Written by Michael Landis

Front-end web developer, React enthusiast, vagabond.

No responses yet