16 lines
505 B
TypeScript
16 lines
505 B
TypeScript
import { Field } from './index';
|
|
export interface Store {
|
|
[name: string]: any;
|
|
}
|
|
interface UseAntdTableFormUtils {
|
|
getFieldInstance?: (name: string) => {};
|
|
setFieldsValue: (value: Store) => void;
|
|
getFieldsValue: (...args: any) => Store;
|
|
resetFields: (...args: any) => void;
|
|
validateFields: () => Promise<any>;
|
|
[key: string]: any;
|
|
}
|
|
export declare const fieldAdapter: (field: Field) => UseAntdTableFormUtils;
|
|
export declare const resultAdapter: (result: any) => any;
|
|
export {};
|