UNPKG

double-ui-vue

Version:
14 lines (13 loc) 373 B
interface AntType { [key: string]: any; } declare type ParamOptions = { rules: AntType[]; check: (params: AntType[]) => boolean; resetErrText: () => void; success?: (v: string) => void; fail?: (v: string) => void; confirmName?: string; }; declare type SetRules = (name: string, options: ParamOptions) => void; export type { AntType, SetRules };