UNPKG

493 BTypeScriptView Raw
1export declare class Timer {
2 private readonly now;
3 private readonly start;
4 private readonly markers;
5 constructor(now?: () => Date);
6 humanReadableElapsed(sinceMarker?: string): string;
7 elapsedSeconds(sinceMarker?: string): number;
8 elapsedMs(sinceMarker?: string): number;
9 mark(name: string): void;
10 private static humanReadableElapsedSeconds;
11 private static humanReadableElapsedMinutes;
12 private static formatTime;
13}
14//# sourceMappingURL=timer.d.ts.map
\No newline at end of file