fix(typings): update form typings (#662)

pull/683/head
atzcl 6 years ago committed by tangjinzhou
parent 8fbeed1e44
commit 995469eb9b

@ -205,13 +205,13 @@ export interface WrappedFormUtils {
* Get the specified fields' error. If you don't specify a parameter, you will get all fields' error.
* @type Function (Function([names: string[]))
*/
getFieldsError(names: string[]): object;
getFieldsError(names?: string[]): object;
/**
* Get the specified fields' values. If you don't specify a parameter, you will get all fields' values.
* @type Funtion (Function([fieldNames: string[]))
*/
getFieldsValue(fieldNames: string[]): object;
getFieldsValue(fieldNames?: string[]): object;
/**
* Get the value of a field.

Loading…
Cancel
Save