UNPKG

@zhouchangju/standard-chart

Version:

标准范式组件

18 lines (17 loc) 613 B
export declare function deleteUndefinedValueProps<O>(obj: O): O; export declare function uid(): string; export declare function judgingTheSignOfNumber(num: string | number): -1 | 0 | 1; export declare function measureText({ fontFamily, fontSize, text }: { fontFamily: string; fontSize: number | string; text: string; }): TextMetrics; export declare function defaultsDeep<T extends { [k: string]: any; } | any[], S extends { [k: string]: any; } | any[]>(target: T, source: S, { overlay, depth, currentDepth }?: { overlay?: boolean; depth?: number; currentDepth?: number; }): T & S;