UNPKG

339 BTypeScriptView Raw
1export declare type TSetTimeout = (callback: (...args: any[]) => void, time?: number, args?: any[]) => any;
2/**
3 * `setTimeoutUnref` is just like `setTimeout`,
4 * only in Node's environment it will "unref" its macro task.
5 */
6declare function setTimeoutUnref(callback: any, time?: any, args?: any): object;
7export default setTimeoutUnref;