Type error: Exported variable 'X' has or is using name 'PrdStore' from external module #2717
Replies: 1 comment 2 replies
-
Thanks for reporting. I wasn't aware such a difference. Hmm, not exporting I'm not sure if we can go back to v2.8.x type if we do #2687. Meanwhile, does this workaround work for you? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description
There was no problem with the code below when
jotai 2.8.3
was used.However, after upgrading to
jotai 2.9.3
, I received the following error message when I did "Next build".When I checked, it seems to be caused because
Store
type is not "export".What do you think about adding "export"?
Reproduction Link
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgQxhEAaOBjKBTVPAZTXzgF84AzKdOAcgCsIZlh6BuAKC7wA9IsHBAB2AZ3h8AgmhBwAvClkAeKVCjIAnsqTAAJgC44EqMBEBzCgD4rACgDaAXQCU3foPjZREuHxLQ8BRx8Qn98W1cuIA
Beta Was this translation helpful? Give feedback.
All reactions