-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Bug that occurs due to excessive deep type computation.
const store = {
state: {},
modules: {
a: {
modules: {
b: {
modules: {
c: {
state: {},
modules: {
d: {
modules: {
e: {
modules: {
f: {
state: {},
},
},
},
f: {
state: {},
},
g: {},
},
},
},
},
},
},
},
},
},
};
type stateTypedStore = ModuleState<typeof store>;
// ^
// Type instantiation is excessively deep and possibly infinite. ts(2589)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed