Remote Ruby cover image

Diving Into The Deep End of Docs

Remote Ruby

00:00

How to Use JS Docs to Add TypeScript Functionality to Your Code

JS docs is a way of specifying it's a specific format of comment that you put above classes, functions, constants. You can actually use JS docs to add TypeScript functionality to your code without writing TypeScript. If you are outfitting all your functions and all your things with these comments, so that the types are very apparent, then you're basically in a typed system almost if you are really good about that.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app