2 ms·
Have you tried type annotations in jsdoc? Inline /* @type */ statements and jsdoc type declarations coupled with .d.ts files for complex types achieves the sam
by claytongulick 5y ago
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.
- LAC-Tech 5y agoYeah that's what I do as well. I actually find TS uglier now. It ends up being full of really long lines like: const myFunction(a: Long<TypeName>, b: Another<LongType>): FooBar