Skip to content

Types not properly defined in package.json #17

Description

@summer-jordan

Issue Description

The typescript types are not resolved when moduleResolution is set to bundler.

This can be confirmed by checking the package with are the types wrong
Screenshot 2024-10-15 at 11 32 04 AM

Proposed Resolution

This issue is resolved by adding a types entry for each of the package.json's exports entries.

I have made the changes locally and confirmed by packing the lib and testing again with arethetypeswrong
Screenshot 2024-10-15 at 11 31 34 AM

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions