Skip to content

Commit 84c03d0

Browse files
authored
refactor(types): sync components types
1 parent 87ce6a9 commit 84c03d0

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

packages/taro-components/types/Button.d.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,6 @@ interface ButtonProps extends StandardProps {
189189
* @supported weapp, alipay, swan, tt, jd
190190
*/
191191
onGetPhoneNumber?: CommonEventFunction<ButtonProps.onGetPhoneNumberEventDetail>
192-
/**
193-
* 手机号实时验证回调,`open-type="getRealtimePhoneNumber"` 时有效
194-
* @supported weapp
195-
*/
196-
onGetRealTimePhoneNumber?: CommonEventFunction<ButtonProps.onGetRealTimePhoneNumberEventDetail>
197192
/** 当使用开放能力时,发生错误的回调
198193
*
199194
* 生效时机:`open-type="launchApp"`
@@ -218,11 +213,6 @@ interface ButtonProps extends StandardProps {
218213
* @supported weapp
219214
*/
220215
onChooseAvatar?: CommonEventFunction
221-
/**
222-
* 用户同意隐私协议事件回调,`open-type="agreePrivacyAuthorization"`时有效
223-
* @supported weapp
224-
*/
225-
onAgreePrivacyAuthorization?: CommonEventFunction
226216
/** 点击。
227217
* 说明: 每点击一次会触发一次事件,建议自行使用代码防止重复点击,可以使用 js 防抖和节流实现。
228218
* @supported alipay

packages/taro-components/types/ShareElement.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ interface ShareElementProps extends StandardProps {
66
* @deprecated 使用mapkey替换key
77
*/
88
key?: string
9-
/** 映射标记
10-
* @supported weapp
11-
*/
12-
mapkey?: string
139
/** 映射标记
1410
* @supported alipay
1511
*/

0 commit comments

Comments
 (0)