re: Using Custom Types in JavaScript Docs VIEW POST


I don't use VS Code (yet) but perhaps this can fit your needs:

I still recommend using jsDoc to document your code, so you'll have to mantain the .d.ts file separately.

For one of my projects I use a script that build the d.ts file out of the jsDoc comments. But it would be adding more complexity. Probably not worth it in your case.

code of conduct - report abuse