correct type

This commit is contained in:
Niels Lyngsø
2023-04-11 15:50:50 +02:00
parent fdfc21a80c
commit 76cea853ff

View File

@@ -26,7 +26,7 @@ export class UmbLanguageWorkspaceElement extends UmbLitElement {
if (this.#editorElement) {
return this.#editorElement;
}
this.#editorElement = (await import('./language-workspace-edit.element')) as unknown as HTMLElement;
this.#editorElement = new (await import('./language-workspace-edit.element')).default();
return this.#editorElement;
};