deguodaigou/utils/dist/count-down/utils.d.ts
2019-12-23 14:13:27 +08:00

11 lines
372 B
TypeScript

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;