Skip to content

Fix schema type issue in validator.ts #15

Open
@jerboa88

Description

@jerboa88
Argument of type 'BooleanSchema | NumberSchema | StringSchema | ObjectSchema<unknown>' is not assignable to parameter of type 'BooleanSchema & StringSchema & ObjectSchema<unknown> & NumberSchema'.
  Type 'BooleanSchema' is not assignable to type 'BooleanSchema & StringSchema & ObjectSchema<unknown> & NumberSchema'.
    Type 'BooleanSchema' is missing the following properties from type 'StringSchema': alphanum, base64, case, creditCard, and 24 more.ts(2345)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions