Re:First look: adding type annotations to JavaScript
by claytongulick on Thursday March 10, 2022 @11:36AM
(#30628849)
Have you tried type annotations in jsdoc?
Inline /* @type */ statements and jsdoc type declarations coupled with .d.ts files for complex types achieves the same thing for me without the extra compilation step.
Inline /* @type */ statements and jsdoc type declarations coupled with .d.ts files for complex types achieves the same thing for me without the extra compilation step.