Skip to content

fix(types): bundle TypeScript declarations in the package - #163

Open
draarivpatel-ui wants to merge 1 commit into
jshttp:masterfrom
draarivpatel-ui:fix-bundle-types
Open

draarivpatel-ui wants to merge 1 commit into
jshttp:masterfrom
draarivpatel-ui:fix-bundle-types

Conversation

@draarivpatel-ui

Copy link
Copy Markdown

Fixes #100.

TypeScript users currently need to install @types/http-errors separately, which is extra setup and can drift from the implementation.

This bundles the existing DefinitelyTyped declarations as index.d.ts, points package.json at them with types, and includes the file in the published package. No runtime behavior changes.

Verified: 52 passing, 1 pending; lint clean; declarations type-check with TypeScript strict mode.

Copilot AI balanced review requested due to automatic review settings November 25, 2026 21:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include typescript typings in the package

2 participants