setTimeout and setInterval
Less than 1 minute
setTimeout
and setInterval
Additional arguments fix for IE9-:
// Before:
setTimeout(log.bind(null, 42), 1000);
// After:
setTimeout(log, 1000, 42);
Module
Types
function setTimeout<A extends Array<any>>(
callback: (...args: A) => void,
time: number,
...args: A
): number;
function setInterval<A extends Array<any>>(
callback: (...args: A) => void,
time: number,
...args: A
): number;
Entry points
core-js(-pure)/stable|actual|full/set-timeout
core-js(-pure)/stable|actual|full/set-interval