Files

12 lines
268 B
TypeScript
Raw Permalink Normal View History

2026-05-31 18:44:04 +08: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;