12 lines
268 B
TypeScript
Raw Normal View History

2019-09-12 23:38:13 +09:00
export interface Timer {
end(): void;
}
export declare class DevTimer implements Timer {
private readonly label;
private start;
constructor(label: string);
endAndGet(): string;
end(): void;
}
export declare function time(label: string): Timer;