diff --git a/app/web/src/utils/script/types/base.ts b/app/web/src/utils/script/types/base.ts index e9190f2a..c8b195a3 100644 --- a/app/web/src/utils/script/types/base.ts +++ b/app/web/src/utils/script/types/base.ts @@ -33,7 +33,14 @@ export const baseTypings = ` visit: (item: IContent) => void | Promise ) => void ) => void;}) => ReactNode; - const navigate: (url: string) => void; + const navigate: (url: string, + params?: { + where?: any; + create?: any; + update?: any; + breads?: { label: string; url?: string }[]; + } + ) => void; const params: any; const cx: (...classNames: any[]) => string; const css: (