DEV Community

Discussion on: Add JSDoc to your JavaScript Code

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

So with this, I'll be able to move away from TS types into JSDoc types and still get the nice info & Intellisense I would get from regular Typescript? Sounds very good to me.

Also added bonus the fact that the tooltip shows the function's signature a la Haskell.

Collapse
 
functional_js profile image
Functional Javascript

Correct.

And you get all the type inferences and all the squigglies that Typescript gives you, while coding in pure JavaScript.

A strongly-typed design-time experience, with no transpiling step.