valueUtil.d.ts 488 B

1234567891011
  1. import type { DataNode, FieldNames, SafeKey } from '../interface';
  2. export declare const toArray: <T>(value: T | T[]) => T[];
  3. export declare const fillFieldNames: (fieldNames?: FieldNames) => {
  4. _title: string[];
  5. value: string;
  6. key: string;
  7. children: string;
  8. };
  9. export declare const isCheckDisabled: (node: DataNode) => boolean;
  10. export declare const getAllKeys: (treeData: DataNode[], fieldNames: FieldNames) => SafeKey[];
  11. export declare const isNil: (val: any) => boolean;