mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 优化ts提示
This commit is contained in:
parent
9d6b44d047
commit
7f793b1a47
2
packages/fes-preset-built-in/types.d.ts
vendored
2
packages/fes-preset-built-in/types.d.ts
vendored
@ -6,7 +6,7 @@ import { Plugin } from '@fesjs/runtime';
|
|||||||
|
|
||||||
interface BeforeRenderConfig {
|
interface BeforeRenderConfig {
|
||||||
loading: Component;
|
loading: Component;
|
||||||
action: () => Promise<any>;
|
action: ({ router }: { router: Router }) => Promise<any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ClientRenderOption {
|
interface ClientRenderOption {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user