Files
NapCatQQ/.pnpm-store/v3/files/2f/a07ed28c8d3625e96ba05ce1bd7329b629fde135058bb35db9b64caa69fa84b6fd4bba90fc80ed690468726e6651a07c1273ea87715f1ff3497562cf05db4d
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

19 lines
618 B
Plaintext

interface SafeTimers {
nextTick?: (cb: () => void) => void;
setImmediate?: {
<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): any;
__promisify__: <T = void>(value?: T, options?: any) => Promise<T>;
};
clearImmediate?: (immediateId: any) => void;
setTimeout: typeof setTimeout;
setInterval: typeof setInterval;
clearInterval: typeof clearInterval;
clearTimeout: typeof clearTimeout;
queueMicrotask: typeof queueMicrotask;
}
declare function getSafeTimers(): SafeTimers;
declare function setSafeTimers(): void;
export { getSafeTimers, setSafeTimers };
export type { SafeTimers };