Re:Node.js adds experimental support for TypeScript
by tracker1 on Thursday July 25, 2024 @11:06AM
(#41069554)
JSDoc is also helpful in dealing with multiple argument option types for a function or constructor, which won't show in TS alone.
[ Parent
| on HN ]
Re:Node.js adds experimental support for TypeScript
by sroussey on Thursday July 25, 2024 @12:02PM
(#41070230)
You can do it in TS.
https://www.typescriptlang.org/docs/handbook/2/functions.htm...