tdesign-pro-component
Version:
ProComponents tdesign-vue-next + Vue3 + TS
10 lines (9 loc) • 659 B
TypeScript
import { ProFormOption } from './types';
export interface IObjectWithPossibleEmptyStrings {
[key: string]: string | IObjectWithPossibleEmptyStrings | null | undefined;
}
export declare function initFormData(options: ProFormOption<any>[], initalData: any): any;
export declare function initFormValue(data: any, options: ProFormOption[]): any;
export declare function filterChangedValues(obj1: any, obj2: any, result?: any): any;
export declare function removeEmptyArray(obj: IObjectWithPossibleEmptyStrings): IObjectWithPossibleEmptyStrings;
export declare function removeEmptyString(obj: IObjectWithPossibleEmptyStrings): IObjectWithPossibleEmptyStrings;