Vite TS issue with " is not exported by " - how to use common contract between different TS modules #9767
Unanswered
iamdeveloperidevelop
asked this question in
Q&A
Replies: 2 comments 2 replies
-
yes, of course. It is correct to encounter this problem. Make sure export what you want and fill your code here. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Similar issue for interfaces: I have an error
but if you look at index.ts and ContinuousFlyout the interface indeed exported |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I've checked few examples over net and github and other tuts, but I struggle.
Here's what I get while running build on root:
Repo is here: https://github.com/szwalkowski/issuewithvite
I'm using Node 18
Structure looks like this:
auth and ui should use contract for common types
I do know that I have different setting for TS in Vue and auth - but this is what was working for me for some time untill I wanted to use same contract module.
Beta Was this translation helpful? Give feedback.
All reactions