typescript · typescript/TS2589
TS2589
Type Instantiation Too Deep
TypeScript's type-checker hit its recursion limit while expanding a generic type. This often occurs with deeply nested or mutually recursive conditional or mapped types. Simplify the type, add an explicit type annotation to break the cycle, or increase the depth limit as a last resort.