fix: types

This commit is contained in:
MARCROCK22 2024-03-26 18:26:07 -04:00
parent caf85b63af
commit 9320010161

View File

@ -344,8 +344,8 @@ export interface ServicesOptions {
};
middlewares?: Record<string, MiddlewareContext>;
handlers?: {
components?: ComponentHandlerLike | ((component: ComponentCommand | ModalCommand) => void);
commands?: CommandHandlerLike | ((command: Command | ContextMenuCommand) => void);
langs?: LangsHandlerLike | ((locale: string, record: Record<string, unknown>) => void);
components?: ComponentHandlerLike | ((component: ComponentCommand | ModalCommand) => any);
commands?: CommandHandlerLike | ((command: Command | ContextMenuCommand) => any);
langs?: LangsHandlerLike | ((locale: string, record: Record<string, unknown>) => any);
};
}