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>;
|
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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user