UNPKG

@antdv/pro-utils

Version:

@antdv/pro-utils

5 lines (4 loc) 406 B
import type { SearchTransformKeyFn } from '../typing'; export type DataFormatMapType = Record<string, SearchTransformKeyFn | undefined>; export declare function isPlainObj(itemValue: any): boolean; export declare function transformKeySubmitValue<T extends Record<string, unknown> = any>(values: T, dataFormatMapRaw: Record<string, SearchTransformKeyFn | undefined | DataFormatMapType>, omit?: boolean): T;