Course lesson

Improve Readability by Annotating Types with JSDoc

JSDoc allows you to add more context to what is displayed to your type when you hover over a value in your editor. We'll go over a basic use case of adding comments to our Type Alias so those will appear when we hover over them.

Duration
1 min
Access
Included
Transcript
Retained from source evidence

JSDoc allows you to add more context to what is displayed to your type when you hover over a value in your editor. We'll go over a basic use case of adding comments to our Type Alias so those will appear when we hover over them.