Fixed TypeScript build error

This commit is contained in:
Eduard Urbach 2020-04-13 23:56:15 +09:00
parent 300bb03acc
commit 7cfeba89ea
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -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)
}
}