papr
papr copied to clipboard
`types.any()` causes TypeScript error `TS2589: Type instantiation is excessively deep and possibly infinite.`
When I try to use this type, a lot of places where I use this collection start throwing this error and my IDE memory usage goes to the roof and then crashes. Probably because of some kind of type loop.
Tried to use the workaround types.object({} as any), but it has the same issue.
Any idea what I might be doing wrong?
Papr Version: 15.2.2
TypeScript Version: 5.5.4
Node Version: 20.16.0