From f73d33cb18195e5f5999dbe0652f6bee94de795a Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 21 Apr 2022 13:54:26 -0500 Subject: [PATCH] chore(webapi): fix types (#3167) --- packages/webapi/src/lib/Element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapi/src/lib/Element.ts b/packages/webapi/src/lib/Element.ts index c1b6f781d6be..013571e63802 100644 --- a/packages/webapi/src/lib/Element.ts +++ b/packages/webapi/src/lib/Element.ts @@ -8,7 +8,7 @@ export class Element extends Node { const internals = _.internalsOf(new.target, 'Element', 'localName') _.INTERNALS.set(this, { attributes: {}, - localName: internals.localName, + localName: (internals as unknown as Element).localName, ownerDocument: this.ownerDocument, shadowInit: null as unknown as ShadowRootInit, shadowRoot: null as unknown as ShadowRoot,