Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schema type issue in validator.ts #15

Open
jerboa88 opened this issue Jun 4, 2024 · 0 comments
Open

Fix schema type issue in validator.ts #15

jerboa88 opened this issue Jun 4, 2024 · 0 comments
Labels
maintenance General project upkeep task
Milestone

Comments

@jerboa88
Copy link
Owner

jerboa88 commented Jun 4, 2024

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)
@jerboa88 jerboa88 added this to the v1.1.0 milestone Jun 10, 2024
@jerboa88 jerboa88 added the maintenance General project upkeep task label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance General project upkeep task
Projects
None yet
Development

No branches or pull requests

1 participant