Skip to content

feat: Add JSDoc & generate TypeScript types - #178

Merged
phated merged 1 commit into
mainfrom
phated/jsdoc-typescript
Nov 23, 2026
Merged

phated merged 1 commit into
mainfrom
phated/jsdoc-typescript

Conversation

@phated

@phated phated commented Nov 20, 2026

Copy link
Copy Markdown
Member

We are adding JSDoc comments to all our external APIs. Then using 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.

We also provide our "node" types because then we aren't subject to weirdness or breaking problems with the massive @types/node package and avoid another dependency.

Closes #164

@phated
phated requested a review from FotoVerite November 20, 2026 20:04
@phated phated self-assigned this Nov 20, 2026
@phated phated added this to v6 Nov 20, 2026
@github-project-automation github-project-automation Bot moved this to Todo in v6 Nov 20, 2026
@phated phated moved this from Todo to In Progress in v6 Nov 20, 2026
@phated
phated merged commit cdae91e into main Nov 23, 2026
5 checks passed
@phated
phated deleted the phated/jsdoc-typescript branch November 23, 2026 22:03
@github-project-automation github-project-automation Bot moved this from In Progress to Done in v6 Nov 23, 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.

Add JSDoc & generate TS types

1 participant