deguodaigou/utils/dist/count-down/utils.d.ts

11 lines
362 B
TypeScript
Raw Normal View History

2019-12-14 09:20:48 +08:00
export declare 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;