Files
2026-02-05 15:27:49 +08:00

13 lines
240 B
TypeScript

import { SleepOptions } from './shared';
declare namespace sleep {
// Allow usage of a CJS module
}
declare function sleep<T = any>(
timeout: number,
options?: SleepOptions,
): Promise<T> & ((value: T) => T);
export = sleep;