Wk-notes-11-20-JSDoc
JSDoc and Typescript
It can give javascript type check in vscode with // @ts-check
, being a good way to gradually introduce typescript, or to at least benefits your own when refactoring.
Supported JSDoc:
@type
@param
(or@arg
or@argument
)@returns
(or@return
)@typedef
@callback
@template
@class
(or@constructor
)@this
@extends
(or@augments
)
Last updated
Was this helpful?