yingsa/admin/node_modules/element-plus/lib/components/time-select/src/utils.d.ts
2026-01-20 08:50:50 +08:00

11 lines
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 {};