UNPKG

@forabi/memfs

Version:

In-memory file-system with Node's fs API.

11 lines (10 loc) 396 B
export declare type TSetTimeout = (callback: (...args) => void, time?: number, args?: any[]) => any; /** * `setTimeoutUnref` is just like `setTimeout`, only in Node's environment it will "unref" its macro task. * @param callback * @param time * @param args * @returns {any} */ declare function setTimeoutUnref(callback: any, time?: any, args?: any): object; export default setTimeoutUnref;