4 ms·
jsdoc is nice because you don’t have to write the non-helpful types. --- In WebStorm, jsdoc can be rendered in HTML, which makes the code easier to scan. Here
by efortis 10mo ago
jsdoc is nice because you don’t have to write the non-helpful types.
---
In WebStorm, jsdoc can be rendered in HTML, which makes the code easier to scan. Here's a side-by-side VSCode vs WebStorm:
https://x.com/efortis/status/1989776568676221137 https://x.com/efortis/status/1989776568676221137
---
And in jsdoc you can have an inline description:
@prop {number} width Video width in pixels
- culi 10mo ago> you don’t have to write the non-helpful types This entirely depends on your tsconfig setup. You can run a JSDoc-typed project in strict mode exactly the same way you would a *.ts-typed project.