chore(webapi): fix types (#3167)
This commit is contained in:
parent
bd66527e7d
commit
f73d33cb18
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue