File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 12
12
*
13
13
* @callback TestFunctionAnything
14
14
* @param {Element } element
15
- * @param {number } [index]
16
- * @param {Parent } [parent]
15
+ * @param {number|null|undefined } [index]
16
+ * @param {Parent|null|undefined } [parent]
17
17
* @returns {boolean|void }
18
18
*/
19
19
23
23
* @template {Element} X
24
24
* @callback TestFunctionPredicate
25
25
* @param {X } element
26
- * @param {number } [index]
27
- * @param {Parent } [parent]
26
+ * @param {number|null|undefined } [index]
27
+ * @param {Parent|null|undefined } [parent]
28
28
* @returns {element is X }
29
29
*/
30
30
33
33
*
34
34
* @callback AssertAnything
35
35
* @param {unknown } [node]
36
- * @param {number } [index]
37
- * @param {Parent } [parent]
36
+ * @param {number|null|undefined } [index]
37
+ * @param {Parent|null|undefined } [parent]
38
38
* @returns {boolean }
39
39
*/
40
40
44
44
* @template {Element} Y
45
45
* @callback AssertPredicate
46
46
* @param {unknown } [node]
47
- * @param {number } [index]
48
- * @param {Parent } [parent]
47
+ * @param {number|null|undefined } [index]
48
+ * @param {Parent|null|undefined } [parent]
49
49
* @returns {node is Y }
50
50
*/
51
51
You can’t perform that action at this time.
0 commit comments