Can't use TypeScript? Use JSDoc / TSDoc for JavaScript ❤️

preview_player
Показать описание
Sometimes you just can't use TypeScript. For those cases, use JavaScript.

"Always bet on JavaScript" 🌹

#TSDoc #JSDoc #JavaScript #TypeScript

👇 ❤️ Subscribe for MOORE ❤️ 👇

**Feel Free To Read This Lot**

I'm Basarat, and I love helping developers. More about me:

Microsoft MVP for TypeScript
200K contributions on Stackoverflow. Top Contributor for TypeScript.
Book Author : Beginning NodeJS
Book Author : TypeScript Deep Dive
Creator of multiple hot ✨ed Github Open Source projects

Рекомендации по теме
Комментарии
Автор

JSDoc annotations are my go-to when picking up a project that doesn't use TS. Lots of immediate benefits without having to convince the whole team to get onboard

Box-of-hats
Автор

Very helpful video. Thanks. Would be great to see something in future on adding .d.ts to an existing js lib that doesnt have type defs.

raghurana
Автор

I am creating a small react library where I work, can I use this jsDocs feature for just type checking in the library and would we be able to get the auto complete feature that typescript gives ?

magical
Автор

What does the first set of dashes (‐‐) do in "npm run build ‐‐ ‐‐watch" ? (at 7:07) Thanks in advance!

devnullsrevenge
Автор

You uploaded it too early. I'm watching it on March 31th

mox