DEV Community 👩‍💻👨‍💻

Discussion on: Unified Validation & Typings in Web-Apps using yup

Collapse
jendorski profile image
Jendorski

There are type issues with

@UseSchema(PersonSchema)
with error

Argument of type 'ObjectSchemaOf<{}, never>' is not assignable to parameter of type 'ObjectSchemaOf<{}>'.
Types have separate declarations of a private property '_sortErrors'