Skip to content

Conversation

queercat
Copy link
Contributor

@queercat queercat commented Aug 6, 2023

PR: Updates exported types in package.

Suggested Change

Modification of package.json to change how types are exported as the types property is not used when exports are declared.

Currently an error is coming from the lack of exported types making this very difficult to use when installed from NPM.

image

Testing strategy.

I applied these changes to the package.json and pushed them into my node_modules for the project I'm working on, it then found the type definitions!

Copy link
Owner

@jchv jchv left a comment

Choose a reason for hiding this comment

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

Thanks, I haven't tested this yet but the evidence is compelling enough for me to just trust that this is correct for the moment.

@jchv jchv merged commit 9d3990a into jchv:master Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants