Fixed TypeScript build error
This commit is contained in:
parent
300bb03acc
commit
7cfeba89ea
@ -15,6 +15,6 @@ export function register() {
|
||||
|
||||
// Register all custom elements
|
||||
for(const [tag, definition] of elements.entries()) {
|
||||
window.customElements.define(tag, definition)
|
||||
window.customElements.define(tag, definition as CustomElementConstructor)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user