Skip to content

Commit 43146e2

Browse files
committed
Fixed type and removed excess JSDoc parameter
1 parent 3c4e1eb commit 43146e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/util/waitForElement.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* Waits until Element will appear
3-
* @param {HTMLElement} elSelector Selector to locate Element
4-
* @param {number} timeout Maximum timeout after which Error will be thrown
3+
* @param {string} elSelector Selector to locate Element
54
* @param {() => void} callback Callback to be called after Element appearance
65
*/
76
export default function waitForElement(elSelector, callback) {

0 commit comments

Comments
 (0)