fix: 优化ts提示

This commit is contained in:
wanchun 2023-07-10 18:06:31 +08:00
parent 9d6b44d047
commit 7f793b1a47

View File

@ -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 {