UNPKG

rc-simple-hook-form

Version:
23 lines (22 loc) 895 B
export declare const isObjEmpty: (obj: any) => boolean; export declare const addData: ({ key, value, ref, targetType, checked, initialize, }: { ref: Record<string, any>; value: any; targetType: string; key: string; checked?: boolean; initialize?: boolean; }) => void; export declare const addObjectData: <T extends Record<string, any>>(refObject: T, name: string, { value, targetType, checked, initialize, }: { value: any; targetType: string; checked?: boolean; initialize?: boolean; }) => T; export declare const createSingleKeyObj: ({ source, target, prefix, }: { target: Record<string, any>; source: Record<string, any>; prefix?: string; }) => Record<string, any>; export declare const getObjectData: (name: String, refObject: Record<string, any>) => any; export declare const getErrorMsg: (defaultMessage: string, msg?: string) => string;