tdesign-mobile-vue
Version:
tdesign-mobile-vue
8 lines (7 loc) • 506 B
TypeScript
export declare function toCamel(str: string): string;
export declare const isBrowser: boolean;
export declare const sleep: (ms: number) => Promise<unknown>;
export declare const uniqueFactory: (compName: string) => () => string;
export declare const convertUnit: (val: string | number | undefined) => string | 0;
export declare const reconvertUnit: (val: string | number | undefined) => number;
export declare const formatNumber: (value: string, allowDecimal?: boolean, allowNegative?: boolean) => string;