Skip to content

Commit bb56a42

Browse files
authored
Merge pull request microsoft#619 from Fabianopb/child-node
Override Node nextSibling to be type of ChildNode.
2 parents 5d9af55 + 2713781 commit bb56a42

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

baselines/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10385,7 +10385,7 @@ interface Node extends EventTarget {
1038510385
/**
1038610386
* Returns the next sibling.
1038710387
*/
10388-
readonly nextSibling: Node | null;
10388+
readonly nextSibling: ChildNode | null;
1038910389
/**
1039010390
* Returns a string appropriate for the type of node, as
1039110391
* follows:

inputfiles/overridingTypes.json

+3
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,9 @@
674674
"read-only": 1,
675675
"override-type": "string | null",
676676
"deprecated": 1
677+
},
678+
"nextSibling": {
679+
"override-type": "ChildNode | null"
677680
}
678681
}
679682
}

0 commit comments

Comments
 (0)