From a207f1702c315becbff78bd91647c8c2c5adf99b Mon Sep 17 00:00:00 2001 From: kobenguyent <7845001+kobenguyent@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:16:38 +0100 Subject: [PATCH] fix(typing): Locator.build complains the empty locator fix #4542 --- lib/locator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locator.js b/lib/locator.js index eef8277f7..967ebc265 100644 --- a/lib/locator.js +++ b/lib/locator.js @@ -389,7 +389,7 @@ class Locator { } /** - * @param {CodeceptJS.LocatorOrString} locator + * @param {CodeceptJS.LocatorOrString} [locator] * @returns {Locator} */ Locator.build = (locator) => {