Skip to content

Missing words in documentation for document.body #2139

@merlinz01

Description

@merlinz01

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions