| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c20e28e commit 858f66e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -307,7 +307,8 @@ Cancels an `Immediate` object created by [`setImmediate()`][]. | |||
| 307 | 307 | added: v0.0.1 | |
| 308 | 308 | --> | |
| 309 | 309 | ||
| 310 | - * `timeout` {Timeout} A `Timeout` object as returned by [`setInterval()`][]. | ||
| 310 | + * `timeout` {Timeout|string|number} A `Timeout` object as returned by [`setInterval()`][] | ||
| 311 | + or the [primitive][] of the `Timeout` object as a string or a number. | ||
| 311 | 312 | ||
| 312 | 313 | Cancels a `Timeout` object created by [`setInterval()`][]. | |
| 313 | 314 | ||
@@ -316,7 +317,8 @@ Cancels a `Timeout` object created by [`setInterval()`][]. | |||
| 316 | 317 | added: v0.0.1 | |
| 317 | 318 | --> | |
| 318 | 319 | ||
| 319 | - * `timeout` {Timeout} A `Timeout` object as returned by [`setTimeout()`][]. | ||
| 320 | + * `timeout` {Timeout|string|number} A `Timeout` object as returned by [`setTimeout()`][] | ||
| 321 | + or the [primitive][] of the `Timeout` object as a string or a number. | ||
| 320 | 322 | ||
| 321 | 323 | Cancels a `Timeout` object created by [`setTimeout()`][]. | |
| 322 | 324 | ||
@@ -478,3 +480,4 @@ const interval = 100; | |||
| 478 | 480 | [`setTimeout()`]: timers.md#timers_settimeout_callback_delay_args | |
| 479 | 481 | [`util.promisify()`]: util.md#util_util_promisify_original | |
| 480 | 482 | [`worker_threads`]: worker_threads.md | |
| 483 | + [primitive]: timers.md#timers_timeout_symbol_toprimitive | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments