Form validations type needs fixing.
Open
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
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 }**>**
Contributor guide
Assessment
This issue has not been assessed yet.