Skip to content

Commit

Permalink
chore(webapi): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Apr 20, 2022
1 parent 37a7a83 commit c78512d
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 c78512d

Please sign in to comment.