UNPKG

516 BTypeScriptView Raw
1export declare function startAsyncTracing(stackTraces?: boolean): void;
2interface Trace {
3 obj: object;
4 trace: string;
5}
6export declare function trace(obj: object): Trace | void;
7export declare function printAsyncStack(): void;
8export declare function detectAsyncLeaks(): object[];
9export declare function printHooks(): void;
10export declare function stopAsyncTracing(): void;
11export declare function onAsyncHook(stackTraces: boolean): () => void;
12export declare function clearLeakDetector(): void;
13export {};