mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
update driftless interval and timeout functions to also allow strings
This commit is contained in:
Vendored
+2
-2
@@ -4,13 +4,13 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export function setDriftlessTimeout(
|
||||
callback: (...args: any[]) => void,
|
||||
callback: ((...args: any[]) => void) | string,
|
||||
delayMs: number,
|
||||
...params: any[]
|
||||
): number;
|
||||
|
||||
export function setDriftlessInterval(
|
||||
callback: (...args: any[]) => void,
|
||||
callback: ((...args: any[]) => void) | string,
|
||||
delayMs: number,
|
||||
...params: any[]
|
||||
): number;
|
||||
|
||||
Reference in New Issue
Block a user