We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141b5f9 commit 895763fCopy full SHA for 895763f
typescript/index.d.ts
@@ -77,12 +77,12 @@ export interface UseFieldConfig<FieldValue> {
77
allowNull?: boolean;
78
beforeSubmit?: () => void | boolean;
79
defaultValue?: FieldValue;
80
- format?: (value: any, name: string) => any;
+ format?: (value: FieldValue, name: string) => any;
81
formatOnBlur?: boolean;
82
initialValue?: FieldValue;
83
isEqual?: (a: any, b: any) => boolean;
84
multiple?: boolean;
85
- parse?: (value: FieldValue, name: string) => FieldValue;
+ parse?: (value: any, name: string) => FieldValue;
86
subscription?: FieldSubscription;
87
type?: string;
88
validate?: FieldValidator<FieldValue>;
0 commit comments