Mayank on Nostr: PSA since i now realize this isn't common knowledge: if you're trying to move away ...
PSA since i now realize this isn't common knowledge:
if you're trying to move away from writing TypeScript files to writing JS files with types as JSDoc comments, start here: https://alexharri.com/blog/jsdoc-as-an-alternative-typescript-syntax
and refer to these docs: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
do NOT look at https://jsdoc.app as it will lead you astray
if you're trying to move away from writing TypeScript files to writing JS files with types as JSDoc comments, start here: https://alexharri.com/blog/jsdoc-as-an-alternative-typescript-syntax
and refer to these docs: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
do NOT look at https://jsdoc.app as it will lead you astray