Skip to content

Commit

Permalink
chore: modify showActionSheet callback success res type
Browse files Browse the repository at this point in the history
  • Loading branch information
xyz-fish authored and ZakaryCode committed Sep 27, 2020
1 parent 62dbbd9 commit b930029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro/types/api/ui/interaction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ declare namespace Taro {
/** 按钮的文字颜色 */
itemColor?: string
/** 接口调用成功的回调函数 */
success?: (result: General.CallbackResult) => void
success?: (result: SuccessCallbackResult) => void
}
interface SuccessCallbackResult extends General.CallbackResult {
/** 用户点击的按钮序号,从上到下的顺序,从0开始 */
Expand Down

0 comments on commit b930029

Please sign in to comment.