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>; middlewares?: Record<string, MiddlewareContext>;
handlers?: { handlers?: {
components?: ComponentHandlerLike | ((component: ComponentCommand | ModalCommand) => void); components?: ComponentHandlerLike | ((component: ComponentCommand | ModalCommand) => any);
commands?: CommandHandlerLike | ((command: Command | ContextMenuCommand) => void); commands?: CommandHandlerLike | ((command: Command | ContextMenuCommand) => any);
langs?: LangsHandlerLike | ((locale: string, record: Record<string, unknown>) => void); langs?: LangsHandlerLike | ((locale: string, record: Record<string, unknown>) => any);
}; };
} }