utils.d.ts 402 B

12345678910
  1. interface Time {
  2. hours: number;
  3. minutes: number;
  4. }
  5. export declare const parseTime: (time: string) => null | Time;
  6. export declare const compareTime: (time1: string, time2: string) => number;
  7. export declare const padTime: (time: number | string) => string;
  8. export declare const formatTime: (time: Time) => string;
  9. export declare const nextTime: (time: string, step: string) => string;
  10. export {};