File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
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
*/
Original file line number Diff line number Diff line change 27
27
}
28
28
}
29
29
},
30
+ "ChildNode" : {
31
+ "name" : " ChildNode" ,
32
+ "extends" : " Node"
33
+ },
30
34
"GlobalEventHandlers" : {
31
35
"name" : " GlobalEventHandlers" ,
32
36
"events" : {
495
499
"override-type" : " Element | null"
496
500
},
497
501
"childNodes" : {
498
- "override-type" : " NodeListOf<Node & ChildNode>"
502
+ "override-type" : " NodeListOf<ChildNode>"
499
503
},
500
504
"firstChild" : {
501
- "override-type" : " Node & ChildNode | null"
505
+ "override-type" : " ChildNode | null"
502
506
},
503
507
"lastChild" : {
504
- "override-type" : " Node & ChildNode | null"
508
+ "override-type" : " ChildNode | null"
505
509
}
506
510
}
507
511
}
You can’t perform that action at this time.
0 commit comments