This simple zod schema will report 2 errors that the type contains any. See:
Indeed the type definition from zod has "strip ZodTypeAny", but that means exactly that any isn't allowed.
Expected:
No error due to the zod schema being defined
Actual:
Errors whenever using zod, thus we resort to the annoying:
If there would be a workaround it would be super cool
First of all thanks for the awesome library, this truly helps us to achieve high quality in our TS projects.
Version: v2.27.1
Environment: Windows and Linux
Code:
This simple zod schema will report 2 errors that the type contains any. See:
Indeed the type definition from zod has "strip ZodTypeAny", but that means exactly that any isn't allowed.
Expected:
No error due to the zod schema being defined
Actual:
Errors whenever using zod, thus we resort to the annoying:![image](https://github.com/plantain-00/type-coverage/assets/5130190/d1abd0ac-2c28-4f3e-881f-d6fa38002476)
If there would be a workaround it would be super cool