1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

docs: be explicit in the unit of time of delay in setTimeout (#19207)

This commit is contained in:
Connor Burton 2023-05-22 15:04:28 +01:00 committed by GitHub
parent ffd3ed9b8a
commit 19f1823e44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,7 +348,7 @@ declare namespace WebAssembly {
export function validate(bytes: BufferSource): boolean;
}
/** Sets a timer which executes a function once after the timer expires. Returns
/** Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returns
* an id which may be used to cancel the timeout.
*
* ```ts