Files
copilot-toolbox-template-news/node_modules/@ant-design/pro-utils/lib/transformKeySubmitValue/index.d.ts
2026-01-12 09:12:41 +00:00

11 lines
521 B
TypeScript

import type { SearchTransformKeyFn } from '../typing';
export type DataFormatMapType = Record<string, SearchTransformKeyFn | undefined>;
/**
* 暂时还不支持 Set和 Map 结构 判断是不是一个能遍历的对象
*
* @param itemValue
* @returns Boolean
*/
export declare function isPlainObj(itemValue: any): boolean;
export declare const transformKeySubmitValue: <T extends object = any>(values: T, dataFormatMapRaw: Record<string, SearchTransformKeyFn | undefined | DataFormatMapType>, omit?: boolean) => T;