TS2456
error TS2456: Type alias ‘
MyValue
‘ circularly references itself.
Broken Code ❌
1 |
|
Fixed Code ✔️
When defining a recursive type, you have to use the object syntax:
1 |
|
error TS2456: Type alias ‘
MyValue
‘ circularly references itself.
1 |
|
When defining a recursive type, you have to use the object syntax:
1 |
|