How can I export types to import in a project? #5092
Unanswered
priscilaandreani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to be able to import my types from the library into my project, like this:
Scenario:
Today when I try to import:
I get the following error:
The module '"@mypackage/dist/index"' declares 'MyType' locally, but it is not exported.
I am also unable to import directly with:
Rollup config:
Beta Was this translation helpful? Give feedback.
All reactions