3 ms·
> jsdoc style annotations Which are a form of type annotations. Case in point: the typescript compiler can actually parse those, in .js files, and yield approp
by nothrabannosir 9y ago
> jsdoc style annotations
Which are a form of type annotations. Case in point: the typescript compiler can actually parse those, in .js files, and yield appropriate warnings on errors. See the //@ts-check annotation.
- zdragnar 9y agoIt'd be a lot less effort to just use TS imho.