Skip to content

Commit

Permalink
chore(webapi): fix types (#3167)
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Apr 21, 2022
1 parent bd66527 commit f73d33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webapi/src/lib/Element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f73d33c

Please sign in to comment.