mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
This commit is contained in:
parent
3ac642c183
commit
e435c2be15
87 changed files with 0 additions and 2025 deletions
|
@ -261,7 +261,6 @@ function setTimer(
|
|||
return timer.id;
|
||||
}
|
||||
|
||||
/** Sets a timer which executes a function once after the timer expires. */
|
||||
export function setTimeout(
|
||||
cb: (...args: Args) => void,
|
||||
delay = 0,
|
||||
|
@ -273,7 +272,6 @@ export function setTimeout(
|
|||
return setTimer(cb, delay, args, false);
|
||||
}
|
||||
|
||||
/** Repeatedly calls a function, with a fixed time delay between each call. */
|
||||
export function setInterval(
|
||||
cb: (...args: Args) => void,
|
||||
delay = 0,
|
||||
|
@ -285,7 +283,6 @@ export function setInterval(
|
|||
return setTimer(cb, delay, args, true);
|
||||
}
|
||||
|
||||
/** Clears a previously set timer by id. AKA clearTimeout and clearInterval. */
|
||||
function clearTimer(id: number): void {
|
||||
id = Number(id);
|
||||
const timer = idMap.get(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue