3 ms·
I'm wondering if there's a tool that converts TypeScript into JavaScript that has JsDoc type annotations and preserves API docs? Then you wouldn't need to inclu
by skybrian 3y ago
I'm wondering if there's a tool that converts TypeScript into JavaScript that has JsDoc type annotations and preserves API docs? Then you wouldn't need to include anything else. Let the application minify if they choose.
- meiraleal 3y agoGPT 4 is great at converting TypeScript to JSDoc
- skybrian 3y agoAs a one-time conversion, maybe, but it would be expensive and unreliable as part of a toolchain.
- Zacru 3y agohttps://github.com/angular/tsickle https://github.com/angular/tsickle kind of does that. Though it's kind of deprecated and more specifically aimed at the Closure Compiler.
- c-hendricks 3y agoDoes the typescript language server even look at jsdoc comments in libraries?
- rasso 3y agoYes it does