Skip to content

Commit b6b3cb9

Browse files
authored
Revert "Narrow declared type of document.body to HTMLBodyElement | HTMLFrameSetElement" (#683)
This reverts commit 1f7b275.
1 parent 8abf04f commit b6b3cb9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4218,7 +4218,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
42184218
/**
42194219
* Specifies the beginning and end of the document body.
42204220
*/
4221-
body: HTMLBodyElement | HTMLFrameSetElement;
4221+
body: HTMLElement;
42224222
/**
42234223
* Returns document's encoding.
42244224
*/

inputfiles/overridingTypes.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,7 @@
618618
"nullable": false
619619
},
620620
"body": {
621-
"nullable": false,
622-
"override-type": "HTMLBodyElement | HTMLFrameSetElement"
621+
"nullable": false
623622
}
624623
}
625624
}

0 commit comments

Comments
 (0)