Skip to content

feat: Add JSDoc & generate TypeScript types - #29

Merged
phated merged 2 commits into
mainfrom
phated/jsdoc-typescript
Oct 19, 2026
Merged

phated merged 2 commits into
mainfrom
phated/jsdoc-typescript

Conversation

@phated

@phated phated commented Oct 16, 2026

Copy link
Copy Markdown
Member

I have been meaning to explore JSDoc comments that can provide enough type information to the TypeScript compiler to generate a definition file that the library can ship. This seems more ideal that relying on DefinitelyTyped to provide types that might not be correct or fall out-of-sync with our libraries.

I also wrote my own "node" types because then we aren't subject to weirdness or breaking problems with the massive @types/node package (and avoid another dependency).

@phated
phated requested a review from FotoVerite October 16, 2026 20:50
@phated phated added this to v6 Oct 16, 2026
@phated phated moved this to In Progress in v6 Oct 16, 2026
@phated phated self-assigned this Oct 16, 2026
@phated
phated merged commit 3126af1 into main Oct 19, 2026
10 checks passed
@phated
phated deleted the phated/jsdoc-typescript branch October 19, 2026 18:24
@phated phated moved this from In Progress to Done in v6 Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant