Skip to content

add ParentNode['replaceChildren'] to dom.generated.d.ts #43456

Closed
@btoo

Description

@btoo

lib Update Request

Configuration Check

My compilation target is ES2021 and my lib is lib.dom.d.ts.

Missing / Incorrect Definition

ParentNode.replaceChildren()

Sample Code

document.body.replaceChildren();
document.body.replaceChildren('hello world', document.createElement('button'));

Documentation Link

MDN
WHATWG

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions