diff --git a/index.d.ts b/index.d.ts index 133a421..c1b6af5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -579,7 +579,7 @@ declare namespace wx { } interface miniProgramMethods { navigateTo(params: miniProgramMethodsParams): void; - navigateBack(params: miniProgramMethodsParams): void; + navigateBack(params: BaseParams): void; switchTab(params: miniProgramMethodsParams): void; reLaunch(params: miniProgramMethodsParams): void; redirectTo(params: miniProgramMethodsParams): void;