From b48a10064f49e3f2919c5ec9fb40e1f4f221cf97 Mon Sep 17 00:00:00 2001 From: yaruno Date: Wed, 18 Oct 2023 14:09:36 +0200 Subject: [PATCH] fixes invalid use of arguments in strict mode error (#484) --- src/fake-timers-src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fake-timers-src.js b/src/fake-timers-src.js index 7691504..d8c6a6f 100644 --- a/src/fake-timers-src.js +++ b/src/fake-timers-src.js @@ -28,14 +28,14 @@ if (typeof require === "function" && typeof module === "object") { /** * @callback NextTick * @param {VoidVarArgsFunc} callback - the callback to run - * @param {...*} arguments - optional arguments to call the callback with + * @param {...*} args - optional arguments to call the callback with * @returns {void} */ /** * @callback SetImmediate * @param {VoidVarArgsFunc} callback - the callback to run - * @param {...*} arguments - optional arguments to call the callback with + * @param {...*} args - optional arguments to call the callback with * @returns {NodeImmediate} */