mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-03 12:17:38 +08:00
fix: 优化ts提示
This commit is contained in:
parent
2892871b25
commit
f45944b6db
10
packages/fes-preset-built-in/types.d.ts
vendored
10
packages/fes-preset-built-in/types.d.ts
vendored
@ -6,7 +6,7 @@ import { Plugin } from '@fesjs/runtime';
|
||||
|
||||
interface BeforeRenderConfig {
|
||||
loading: Component;
|
||||
action: () => Promise<any>;
|
||||
action: ({ router }: { router: Router }) => Promise<any>;
|
||||
}
|
||||
|
||||
interface ClientRenderOption {
|
||||
@ -86,10 +86,10 @@ declare module '@fesjs/fes' {
|
||||
dynamicImport?: boolean;
|
||||
inlineLimit?: number;
|
||||
mock?:
|
||||
| boolean
|
||||
| {
|
||||
prefix?: string;
|
||||
};
|
||||
| boolean
|
||||
| {
|
||||
prefix?: string;
|
||||
};
|
||||
mountElementId?: string;
|
||||
plugins?: string[];
|
||||
presets?: string[];
|
||||
|
Loading…
Reference in New Issue
Block a user