-
Notifications
You must be signed in to change notification settings - Fork 156
Update package.json exports for types imports #747
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
Conversation
|
commit: |
Co-authored-by: Victor Berchet <[email protected]>
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.
LGTM, thanks!
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.
LGTM Thanks
Updates the
package.json
exports
field to split intodefault
andtypes
to fix issue with TypeScript being unable to reference types such as:Error message:
Cannot find module 'open-next/types/open-next' or its corresponding type declarations. ts(2307)