You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
331 B

3 months ago
  1. export 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. */
  6. declare function setTimeoutUnref(callback: any, time?: any, args?: any): object;
  7. export default setTimeoutUnref;