Closed
Description
Right now the CompilerNodeToWrappedType
type will sometimes resolve to any
:
The reason for this is a limitation in the typescript compiler where you cannot nest more than 50 conditional types: microsoft/TypeScript#28663
I spent a decent amount of time yesterday trying to come up with some workarounds, but unfortunately it seems like doing a long conditional type like this is the only thing that will work.