diff --git a/doc/api/timers.md b/doc/api/timers.md index cf91e36b94e1f2..e0bf70b74253c5 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -333,6 +333,9 @@ const timersPromises = require('timers/promises'); ``` ### `timersPromises.setTimeout([delay[, value[, options]]])` + * `delay` {number} The number of milliseconds to wait before resolving the `Promise`. **Default**: `1`. @@ -345,6 +348,9 @@ const timersPromises = require('timers/promises'); cancel the scheduled `Timeout`. ### `timersPromises.setImmediate([value[, options]])` + * `value` {any} A value with which the `Promise` is resolved. * `options` {Object}