Skip to content

Commit

Permalink
doc: add missing backticks in timers.md
Browse files Browse the repository at this point in the history
PR-URL: #34030
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
vsemozhetbyt authored and Trott committed Jun 24, 2020
1 parent 336546b commit 8ada275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/timers.md
Expand Up @@ -314,7 +314,7 @@ that return `Promise` objects. The API is accessible via
const timersPromises = require('timers/promises');
```

### `timersPromises.setTimeout(delay\[, value\[, options\]\])
### `timersPromises.setTimeout(delay\[, value\[, options\]\])`

* `delay` {number} The number of milliseconds to wait before resolving the
`Promise`.
Expand All @@ -326,7 +326,7 @@ const timersPromises = require('timers/promises');
* `signal` {AbortSignal} An optional `AbortSignal` that can be used to
cancel the scheduled `Timeout`.

### `timersPromises.setImmediate(\[value\[, options\]\])
### `timersPromises.setImmediate(\[value\[, options\]\])`

* `value` {any} A value with which the `Promise` is resolved.
* `options` {Object}
Expand Down

0 comments on commit 8ada275

Please sign in to comment.