diff --git a/packages/ui-extensions/src/surfaces/admin/registration.ts b/packages/ui-extensions/src/surfaces/admin/registration.ts index 4860319ba..8e8f7edde 100644 --- a/packages/ui-extensions/src/surfaces/admin/registration.ts +++ b/packages/ui-extensions/src/surfaces/admin/registration.ts @@ -1,5 +1,7 @@ export interface RenderExtension { - (root: HTMLElement, api: Api): Promise void)>; + (root: HTMLElement, api: Api): + | (void | (() => void)) + | Promise void)>; } export interface ExtensionRegistrationFunction {