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: module not found in TypeScript 4.9.4 #173

Merged
merged 2 commits into from
Jan 11, 2023
Merged

fix: module not found in TypeScript 4.9.4 #173

merged 2 commits into from
Jan 11, 2023

Conversation

cseas
Copy link
Collaborator

@cseas cseas commented Jan 11, 2023

Description

The types field under exports is still not properly supported in a consumer project using TypeScript 4.9.4.
Support might be fixed in TypeScript v5 but for now the fix is to use the "types" field in package.json instead which older versions of TypeScript recognise.

Refer:

Checklist

  • My changes generate no new warnings
  • I've done a self-review of this pull request

@changeset-bot
Copy link

changeset-bot bot commented Jan 11, 2023

🦋 Changeset detected

Latest commit: a1c44df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
hazel-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cseas cseas merged commit e17d8b1 into main Jan 11, 2023
@cseas cseas deleted the fix-types branch January 11, 2023 07:02
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.

None yet

1 participant