From 47728e4724b52b70dc650be86e4594f1561cfc92 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 4 Dec 2020 09:20:04 -0500 Subject: [PATCH] doc: add missing version to timers docs --- doc/api/timers.md | 6 ++++++ 1 file changed, 6 insertions(+) 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}