utils.d.ts 354 B

12345678910
  1. export type TimeData = {
  2. days: number;
  3. hours: number;
  4. minutes: number;
  5. seconds: number;
  6. milliseconds: number;
  7. };
  8. export declare function parseTimeData(time: number): TimeData;
  9. export declare function parseFormat(format: string, timeData: TimeData): string;
  10. export declare function isSameSecond(time1: number, time2: number): boolean;