diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 1a8c1c6ee..987686d80 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -11248,6 +11248,12 @@ interface ParentNode { querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: string): NodeListOf; + /** + * Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + replaceChildren(...nodes: (Node | string)[]): void; } /** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */ diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index 7cd5f4847..fa8c6c6d5 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -27,13 +27,6 @@ } } }, - "ParentNode": { - "methods": { - "method": { - "replaceChildren": null - } - } - }, "XMLHttpRequestEventTarget": null } },