We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using any FormComponent in typescript with validations throws following type error.
... is missing the following properties from type 'Validations': contains, equals, isAlpha, isAlphanumeric, and 62 more.
The FormComponent.d.ts needs following change.
type Validations = Partial<{ [Key in keyof Validators]: ParametersAfterFirst<Validators[Key]> }>
The text was updated successfully, but these errors were encountered:
Hi, Can I please work on this fix? Thanks.
Sorry, something went wrong.
Yes, pl. do. I didn't get time to get to it. Thanks.
Fix instacart#371 : Form validations type fixed
186b2fd
No branches or pull requests
Using any FormComponent in typescript with validations throws following type error.
The FormComponent.d.ts needs following change.
type Validations = Partial<{ [Key in keyof Validators]: ParametersAfterFirst<Validators[Key]> }>
The text was updated successfully, but these errors were encountered: