From c78512d283fd7debb1868ab8bbde2c930ccca28e Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Wed, 20 Apr 2022 16:49:07 -0500 Subject: [PATCH] chore(webapi): fix types --- 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,