Skip to content
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

fix: Add types to exports object to allow TypeScript 4.7 + Node 16 to properly resolve typings #203

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

SebDuf
Copy link
Contributor

@SebDuf SebDuf commented Jun 27, 2022

Add types export to exports field so TypeScript 4.7 is able to the the types when using the module resolution for Node 16+.

The types inside the exports object has to be first for TypeScript to be happy (see this issue: microsoft/TypeScript#46334).

@mindhells mindhells merged commit 6e6b45a into softonic:master Jun 28, 2022
@mindhells
Copy link
Member

thanks a lot

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.

2 participants