The `Document.body` interface has this documentation defined in `node_modules/typescript/lib/lib.dom.ts`: > The **`Document.body`** property represents the `null` if no such element exists. I think it is supposed to say (as in the MDN docs): > The **`Document.body`** property represents the `<body>` or `<frameset>` node of the current document, or `null` if no such element exists. Not sure if this is the right place for this issue.