From 186b2fd3549cd5f9bf423fd5f8c03054b66daa04 Mon Sep 17 00:00:00 2001 From: Julie Philip James Date: Fri, 18 Oct 2019 15:38:27 -0400 Subject: [PATCH] Fix #371 : Form validations type fixed --- src/components/Forms/FormComponent.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Forms/FormComponent.d.ts b/src/components/Forms/FormComponent.d.ts index ac1f8628..8eb0413b 100644 --- a/src/components/Forms/FormComponent.d.ts +++ b/src/components/Forms/FormComponent.d.ts @@ -12,7 +12,7 @@ type ParametersAfterFirst any> = T : never type Validators = Omit -type Validations = { [Key in keyof Validators]: ParametersAfterFirst } +type Validations = Partial<{ [Key in keyof Validators]: ParametersAfterFirst }> interface FormComponentProps { /** Model name for Form */