Skip to content

Commit 79c60b8

Browse files
committed
Make Document.body non-nullable
1 parent 0ddea9b commit 79c60b8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3930,7 +3930,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
39303930
/**
39313931
* Specifies the beginning and end of the document body.
39323932
*/
3933-
body: HTMLElement | null;
3933+
body: HTMLElement;
39343934
/**
39353935
* Returns document's encoding.
39363936
*/

inputfiles/overridingTypes.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,10 @@
477477
},
478478
"location": {
479479
"read-only": 0
480-
}
480+
},
481+
"body": {
482+
"nullable": false
483+
}
481484
}
482485
}
483486
},

0 commit comments

Comments
 (0)