From 5abe5d8fd961de7f4a202fd6ae67491640431730 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Wed, 17 Aug 2022 10:03:49 -0400 Subject: [PATCH] lib: add missing optional jsdoc to validateSignalName --- lib/internal/validators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/validators.js b/lib/internal/validators.js index a50f8c0cd67a63..b168bcb6e2b402 100644 --- a/lib/internal/validators.js +++ b/lib/internal/validators.js @@ -273,7 +273,7 @@ const validateArray = hideStackFrames((value, name, minLength = 0) => { /** * @param {*} signal - * @param {string} name + * @param {string} [name='signal'] * @returns {asserts signal is keyof signals} */ function validateSignalName(signal, name = 'signal') {