fiw with any type

This commit is contained in:
Niels Lyngsø
2024-03-03 23:46:42 +01:00
parent f339b43530
commit dd44b4047b

View File

@@ -132,7 +132,7 @@ export class UmbExtensionElementAndApiInitializer<
const { element: newComponent, api: newApi } = await createExtensionElementWithApi<
ExtensionElementInterface,
ExtensionApiInterface
>(manifest, this.#defaultElement, this.#constructorArguments);
>(manifest, this.#defaultElement, this.#constructorArguments as any);
if (!this._isConditionsPositive) {
newApi?.destroy?.();