Skip to content

Commit

Permalink
fix(type): navigateTo.success with eventChannel (#8523)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aysnine authored Jan 14, 2021
1 parent 332d1fb commit 1a63dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro/types/api/route/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ declare namespace Taro {
/** 接口调用失败的回调函数 */
fail?: (res: General.CallbackResult) => void
/** 接口调用成功的回调函数 */
success?: (res: General.CallbackResult) => void
success?: (res: General.CallbackResult & { eventChannel: EventChannel }) => void
}
}

Expand Down

0 comments on commit 1a63dae

Please sign in to comment.