|
|
|
|
|
by yesbabyyes
28 days ago
|
|
Just make it a habit to write your types in JSDoc and be done with it. It's so much nicer in every way. Typescript checks your types, you are incentivized to write some brief documentation, and (self promotion) if you use something like my library testy you get your JSDoc examples tested. https://github.com/linus/testy |
|