Skip to content

feat: export types from package#20

Open
sburton84 wants to merge 1 commit into
mainfrom
export-types
Open

feat: export types from package#20
sburton84 wants to merge 1 commit into
mainfrom
export-types

Conversation

@sburton84
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the package’s export map so TypeScript consumers can resolve declaration files (.d.ts) for the main entrypoint and the tailwindTheme subpath via exports.

Changes:

  • Converted the exports["."] entry from a string to a conditional export that includes a types path.
  • Converted the exports["./tailwindTheme"] entry to a conditional export that includes a types path.
  • Kept existing JS entrypoints as the import/default targets and left ./tokens.css as-is.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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