From 1a63dae43e3b949f77fde003b76011ac5aad9a48 Mon Sep 17 00:00:00 2001 From: CNine Date: Thu, 14 Jan 2021 09:56:50 +0800 Subject: [PATCH] fix(type): navigateTo.success with eventChannel (#8523) https://github.com/NervJS/taro/issues/8506 --- packages/taro/types/api/route/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro/types/api/route/index.d.ts b/packages/taro/types/api/route/index.d.ts index 364266c2f15c..42c03f536810 100644 --- a/packages/taro/types/api/route/index.d.ts +++ b/packages/taro/types/api/route/index.d.ts @@ -99,7 +99,7 @@ declare namespace Taro { /** 接口调用失败的回调函数 */ fail?: (res: General.CallbackResult) => void /** 接口调用成功的回调函数 */ - success?: (res: General.CallbackResult) => void + success?: (res: General.CallbackResult & { eventChannel: EventChannel }) => void } }