File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3050,7 +3050,7 @@ declare var CharacterData: {
3050
3050
new(): CharacterData;
3051
3051
};
3052
3052
3053
- interface ChildNode {
3053
+ interface ChildNode extends Node {
3054
3054
/**
3055
3055
* Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
3056
3056
* Throws a "HierarchyRequestError" DOMException if the constraints of
@@ -10215,19 +10215,19 @@ interface Node extends EventTarget {
10215
10215
/**
10216
10216
* Returns the children.
10217
10217
*/
10218
- readonly childNodes: NodeListOf<Node & ChildNode>;
10218
+ readonly childNodes: NodeListOf<ChildNode>;
10219
10219
/**
10220
10220
* Returns the first child.
10221
10221
*/
10222
- readonly firstChild: Node & ChildNode | null;
10222
+ readonly firstChild: ChildNode | null;
10223
10223
/**
10224
10224
* Returns true if node is connected and false otherwise.
10225
10225
*/
10226
10226
readonly isConnected: boolean;
10227
10227
/**
10228
10228
* Returns the last child.
10229
10229
*/
10230
- readonly lastChild: Node & ChildNode | null;
10230
+ readonly lastChild: ChildNode | null;
10231
10231
/**
10232
10232
* Returns the next sibling.
10233
10233
*/
You can’t perform that action at this time.
0 commit comments