[Docs] Exported variable store has or is using name CounterState from external module "/somepath" but cannot be named.
yourcasualdev opened this issue · 0 comments
yourcasualdev commented
What docs page needs to be fixed?
- tutorials:
- typescript-quick-start:
What is the problem?
The problem is when I try to implement redux with TypeScript starter I always get this error on store type:
Exported variable store has or is using name _AccountState_ from external module "_mypath_" but cannot be named.
Here AccountState is the initial state interface.
What should be changed to fix the problem?
Adding export to slices Initial State interface is fixing the issue.