@@ -3057,13 +3057,13 @@ interface ChildNode {
3057
3057
* Throws a "HierarchyRequestError" DOMException if the constraints of
3058
3058
* the node tree are violated.
3059
3059
*/
3060
- after(...nodes: Node | string[]): void;
3060
+ after(...nodes: ( Node | string) []): void;
3061
3061
/**
3062
3062
* Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
3063
3063
* Throws a "HierarchyRequestError" DOMException if the constraints of
3064
3064
* the node tree are violated.
3065
3065
*/
3066
- before(...nodes: Node | string[]): void;
3066
+ before(...nodes: ( Node | string) []): void;
3067
3067
/**
3068
3068
* Removes node.
3069
3069
*/
@@ -3073,7 +3073,7 @@ interface ChildNode {
3073
3073
* Throws a "HierarchyRequestError" DOMException if the constraints of
3074
3074
* the node tree are violated.
3075
3075
*/
3076
- replaceWith(...nodes: Node | string[]): void;
3076
+ replaceWith(...nodes: ( Node | string) []): void;
3077
3077
}
3078
3078
3079
3079
interface ClientRect {
@@ -11072,14 +11072,14 @@ interface ParentNode {
11072
11072
* Throws a "HierarchyRequestError" DOMException if the constraints of
11073
11073
* the node tree are violated.
11074
11074
*/
11075
- append(...nodes: Node | string[]): void;
11075
+ append(...nodes: ( Node | string) []): void;
11076
11076
/**
11077
11077
* Inserts nodes before the first child of node, while
11078
11078
* replacing strings in nodes with equivalent Text nodes.
11079
11079
* Throws a "HierarchyRequestError" DOMException if the constraints of
11080
11080
* the node tree are violated.
11081
11081
*/
11082
- prepend(...nodes: Node | string[]): void;
11082
+ prepend(...nodes: ( Node | string) []): void;
11083
11083
/**
11084
11084
* Returns the first element that is a descendant of node that
11085
11085
* matches selectors.
0 commit comments