Skip to content

Commit 047c17b

Browse files
committed
fix variadic params
1 parent 0734a7a commit 047c17b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

baselines/dom.generated.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,13 +3057,13 @@ interface ChildNode {
30573057
* Throws a "HierarchyRequestError" DOMException if the constraints of
30583058
* the node tree are violated.
30593059
*/
3060-
after(...nodes: Node | string[]): void;
3060+
after(...nodes: (Node | string)[]): void;
30613061
/**
30623062
* Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
30633063
* Throws a "HierarchyRequestError" DOMException if the constraints of
30643064
* the node tree are violated.
30653065
*/
3066-
before(...nodes: Node | string[]): void;
3066+
before(...nodes: (Node | string)[]): void;
30673067
/**
30683068
* Removes node.
30693069
*/
@@ -3073,7 +3073,7 @@ interface ChildNode {
30733073
* Throws a "HierarchyRequestError" DOMException if the constraints of
30743074
* the node tree are violated.
30753075
*/
3076-
replaceWith(...nodes: Node | string[]): void;
3076+
replaceWith(...nodes: (Node | string)[]): void;
30773077
}
30783078

30793079
interface ClientRect {
@@ -11072,14 +11072,14 @@ interface ParentNode {
1107211072
* Throws a "HierarchyRequestError" DOMException if the constraints of
1107311073
* the node tree are violated.
1107411074
*/
11075-
append(...nodes: Node | string[]): void;
11075+
append(...nodes: (Node | string)[]): void;
1107611076
/**
1107711077
* Inserts nodes before the first child of node, while
1107811078
* replacing strings in nodes with equivalent Text nodes.
1107911079
* Throws a "HierarchyRequestError" DOMException if the constraints of
1108011080
* the node tree are violated.
1108111081
*/
11082-
prepend(...nodes: Node | string[]): void;
11082+
prepend(...nodes: (Node | string)[]): void;
1108311083
/**
1108411084
* Returns the first element that is a descendant of node that
1108511085
* matches selectors.

0 commit comments

Comments
 (0)