filesbox/miniprogram/FilesBox/node_modules/@vant/weapp/lib/count-down/utils.d.ts
2023-09-21 10:23:31 +08:00

11 lines
354 B
TypeScript

export type TimeData = {
days: number;
hours: number;
minutes: number;
seconds: number;
milliseconds: number;
};
export declare function parseTimeData(time: number): TimeData;
export declare function parseFormat(format: string, timeData: TimeData): string;
export declare function isSameSecond(time1: number, time2: number): boolean;