Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
skybrian
on Sept 24, 2023
|
parent
|
context
|
favorite
| on:
TypeScript NPM Packages Done Right
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.
Zacru
on Sept 24, 2023
|
next
[–]
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
on Sept 24, 2023
|
prev
|
next
[–]
Does the typescript language server even look at jsdoc comments in libraries?
rasso
on Sept 24, 2023
|
parent
|
next
[–]
Yes it does
meiraleal
on Sept 24, 2023
|
prev
[–]
GPT 4 is great at converting TypeScript to JSDoc
skybrian
on Sept 24, 2023
|
parent
[–]
As a one-time conversion, maybe, but it would be expensive and unreliable as part of a toolchain.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: