Explain the issue
I worked on a project for serialization and tried my best to strictly check the parameters passing from the user, so there's a deep check for nested data.
But the recursive check gives me the "Type instantiation is excessively deep and possibly infinite." error, and I have no idea how to solve this.
TypeScript Playground
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.