element-plus
Version:
A Component Library for Vue 3
11 lines (10 loc) • 402 B
TypeScript
interface Time {
hours: number;
minutes: number;
}
export declare const parseTime: (time: string) => null | Time;
export declare const compareTime: (time1: string, time2: string) => number;
export declare const padTime: (time: number | string) => string;
export declare const formatTime: (time: Time) => string;
export declare const nextTime: (time: string, step: string) => string;
export {};