Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Conversation

@msujew
Copy link

@msujew msujew commented Jan 29, 2024

Closes #5

For "moduleResolution": "Node16" (i.e. native ESM imports), TypeScript requires a types field in the exports object. This change adds the required field.

Additionally, it exports a few more types, which are very useful in case you actually want to propagate the expected argument types throughout your own adopter code. If unwanted, I can drop the commit again though.

Also fixes the type error related to the fetch API.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Could not lib

1 participant