Skip to content

Commit f6993cb

Browse files
authored
fix(typing): Locator.build complains the empty locator (#4543)
fix #4542
1 parent 94ffba0 commit f6993cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/locator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ class Locator {
389389
}
390390

391391
/**
392-
* @param {CodeceptJS.LocatorOrString} locator
392+
* @param {CodeceptJS.LocatorOrString} [locator]
393393
* @returns {Locator}
394394
*/
395395
Locator.build = (locator) => {

0 commit comments

Comments
 (0)