mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-10 08:12:42 +08:00
12 lines
268 B
TypeScript
12 lines
268 B
TypeScript
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;
|