diff --git a/src/interface.ts b/src/interface.ts index 9a86cd6fe..8d04a2c7f 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -194,7 +194,7 @@ export interface FormInstance { getFieldsValue: ( nameList?: NamePath[] | true, filterFunc?: (meta: Meta) => boolean, - ) => Values | any; + ) => Values; getFieldError: (name: NamePath) => string[]; getFieldsError: (nameList?: NamePath[]) => FieldError[]; isFieldsTouched(nameList?: NamePath[], allFieldsTouched?: boolean): boolean;