-
Notifications
You must be signed in to change notification settings - Fork 0
Merge main into docs #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,50 +1,16 @@ | ||||||||||||
| export { | ||||||||||||
| createErrorClient, | ||||||||||||
| type ClientMatchHandlers, | ||||||||||||
| createErrataClient, | ||||||||||||
| type ErrataClient, | ||||||||||||
| ErrataClientError, | ||||||||||||
| type ErrorClient, | ||||||||||||
| type ErrorClientOptions, | ||||||||||||
| type ErrataClientOptions, | ||||||||||||
| } from './client' | ||||||||||||
| export { code, defineClientPlugin, defineCodes, definePlugin, props } from './define' | ||||||||||||
| export { | ||||||||||||
| errata, | ||||||||||||
| type ErrataInstance, | ||||||||||||
| type ErrataOptions, | ||||||||||||
| type MatchHandlers, | ||||||||||||
| } from './errata' | ||||||||||||
| export { errata, type ErrataInstance, type ErrataOptions, type MatchHandlers } from './errata' | ||||||||||||
| export { ErrataError, type SerializedError } from './errata-error' | ||||||||||||
| export type { | ||||||||||||
| ClientConfig, | ||||||||||||
| ClientContext, | ||||||||||||
| CodeConfig, | ||||||||||||
| CodeConfigRecord, | ||||||||||||
| CodesOf, | ||||||||||||
| DetailsOf, | ||||||||||||
| ErrataClientErrorForCodes, | ||||||||||||
| ErrataClientPlugin, | ||||||||||||
| ErrataConfig, | ||||||||||||
| ErrataContext, | ||||||||||||
| ErrataErrorForCodes, | ||||||||||||
| ErrataPlugin, | ||||||||||||
|
||||||||||||
| ErrataPlugin, | |
| ErrataPlugin, | |
| CodesOf, | |
| InternalCode, | |
| DetailsOf, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simplified export configuration removes TypeScript type definitions from the exports map. This could break TypeScript imports for consumers using moduleResolution "bundler" or "node16"/"nodenext". The previous configuration explicitly specified types fields for each export, which is the recommended practice for dual CJS/ESM packages. Consider restoring the type definitions in the exports or ensure the top-level "types" field adequately covers all exports.