UNPKG

268 BTypeScriptView Raw
1export interface Timer {
2 end(): void;
3}
4export declare class DevTimer implements Timer {
5 private readonly label;
6 private start;
7 constructor(label: string);
8 endAndGet(): string;
9 end(): void;
10}
11export declare function time(label: string): Timer;