Speakeasy JS - JSDocs: It's like TypeScript but without all that TypeScript (Austin Gil)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I use this method and love it. Such a time saver and I'm able to stay in the flow when writing scripts. Every time I have to stop and handle a typing issue, breaks the concentration of what I'm trying to achieve.

everythingisfine
Автор

One thing not mentioned in this video is that you can use ESLINT-PLUGIN-JSDOC to automate enforcement of where to use JSDocs, how the comments are styled, and how much detail is required in each comment. So, for example, if you rename/add/remove an argument from a function, the linter will catch this and tell you to update the comment. This also means you don't need to use VSCode or any TS specific tooling. ESLint does all the heavy lifting and enforcement. Best thing of all, not mentioned here, is that TS is With JSDocs, you don't hit save and have to wait 20 seconds for it to re-compile before the page will refresh.

thejaredwilcurt
Автор

Hi Feross,
Please add Youtube Tags for videos for better reach.

amitkumargupta-
Автор

It would be nice if VS Code supported brief type comments how Google Closure Compiler does.

thekaleb