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

Support Compiling TypeScript with --declaration Flag #29

Merged
merged 1 commit into from
Apr 6, 2022
Merged

Conversation

joe-bell
Copy link
Owner

@joe-bell joe-bell commented Apr 6, 2022

Description

Fixes #27

As much as I'd prefer to keep a single file for all code, this feels like a better trade-off than exporting types I don't want to make publicly available…

Weirdly this seems to fix a common issue when creating libraries dependent on cva 🤷

Additional context

cc @brattonross


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Follow the Style Guide.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

@joe-bell
Copy link
Owner Author

joe-bell commented Apr 6, 2022

Published under version 0.2.1-canary.1

@joe-bell joe-bell merged commit de18226 into main Apr 6, 2022
@joe-bell joe-bell deleted the fix/types branch April 6, 2022 17:21
@brattonross
Copy link
Contributor

Really appreciate you supporting this, will give it a try when I can, thanks again! 🙏

@joe-bell
Copy link
Owner Author

joe-bell commented Apr 6, 2022

No worries! Let me know how you get on 🤞

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.

Compiling TypeScript with --declaration flag set results in an error
2 participants