diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 0ee8a118e..e0e2db495 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -16450,7 +16450,7 @@ interface Node extends EventTarget { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode) */ - cloneNode(deep?: boolean): Node; + cloneNode(deep?: boolean): this; /** * Returns a bitmask indicating the position of other relative to node. * diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 416f88377..fdc39956f 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -846,6 +846,19 @@ } } }, + "cloneNode": { + "signature": { + "0": { + "param": [ + { + "name": "deep", + "overrideType": "boolean" + } + ], + "overrideType": "this" + } + } + }, "removeChild": { "signature": { "0": {