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

cascade doesn't support isHexColor #41

Open
ahaoboy opened this issue Oct 25, 2024 · 0 comments
Open

cascade doesn't support isHexColor #41

ahaoboy opened this issue Oct 25, 2024 · 0 comments

Comments

@ahaoboy
Copy link

ahaoboy commented Oct 25, 2024

const isColor =  t.cascade (t.isHexColor({ alpha: true }))

Argument of type 'LooseValidator<string, string>' is not assignable to parameter of type 'AnyStrictValidator'.
  Type 'LooseValidator<string, string>' is not assignable to type 'StrictTest<any, any>'.
    Signature '(value: string, test?: ValidationState | undefined): boolean' must be a type predicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant