mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: types
This commit is contained in:
parent
caf85b63af
commit
9320010161
@ -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);
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user