consts/time.d.ts
Timo Hocker fff6d7b296
All checks were successful
continuous-integration/drone/push Build is passing
fix time definitions
2021-01-15 19:39:00 +01:00

19 lines
448 B
TypeScript

declare interface TimeBase {
ns: number;
us: number;
ms: number;
second: number;
minute: number;
hour: number;
day: number;
week: number;
month: (m: any, y: any) => number;
year: (y: any) => number;
}
export function base(second?: number): TimeBase;
export declare const base_s: TimeBase;
export declare const base_ms: TimeBase;
export declare const base_us: TimeBase;
export declare const base_ns: TimeBase;