diff --git a/packages/taro-components/types/Button.d.ts b/packages/taro-components/types/Button.d.ts index e56094fd35f1..5168f57d01ef 100644 --- a/packages/taro-components/types/Button.d.ts +++ b/packages/taro-components/types/Button.d.ts @@ -189,11 +189,6 @@ interface ButtonProps extends StandardProps { * @supported weapp, alipay, swan, tt, jd */ onGetPhoneNumber?: CommonEventFunction - /** - * 手机号实时验证回调,`open-type="getRealtimePhoneNumber"` 时有效 - * @supported weapp - */ - onGetRealTimePhoneNumber?: CommonEventFunction /** 当使用开放能力时,发生错误的回调 * * 生效时机:`open-type="launchApp"` @@ -218,11 +213,6 @@ interface ButtonProps extends StandardProps { * @supported weapp */ onChooseAvatar?: CommonEventFunction - /** - * 用户同意隐私协议事件回调,`open-type="agreePrivacyAuthorization"`时有效 - * @supported weapp - */ - onAgreePrivacyAuthorization?: CommonEventFunction /** 点击。 * 说明: 每点击一次会触发一次事件,建议自行使用代码防止重复点击,可以使用 js 防抖和节流实现。 * @supported alipay diff --git a/packages/taro-components/types/ScrollView.d.ts b/packages/taro-components/types/ScrollView.d.ts index 5f2507258e88..ab1142f35804 100644 --- a/packages/taro-components/types/ScrollView.d.ts +++ b/packages/taro-components/types/ScrollView.d.ts @@ -1,5 +1,5 @@ import { ComponentType } from 'react' -import { StandardProps, CommonEventFunction, BaseEventOrigFunction } from './common' +import { BaseEventOrigFunction, CommonEventFunction, StandardProps } from './common' interface ScrollViewProps extends StandardProps { /** 允许横向滚动 * @default false @@ -157,7 +157,7 @@ interface ScrollViewProps extends StandardProps { * center - 目标节点显示在视口中间 * end - 目标节点显示在视口结束处 * nearest - 目标节点在就近的视口边缘显示,若节点已在视口内则不触发滚动 - * @supported weapp + * @supported weapp, h5 * @default 'start' */ scrollIntoViewAlignment?: 'start' | 'center' | 'end' | 'nearest' diff --git a/packages/taro-components/types/ShareElement.d.ts b/packages/taro-components/types/ShareElement.d.ts index dde04fc6987b..156eb902da0e 100644 --- a/packages/taro-components/types/ShareElement.d.ts +++ b/packages/taro-components/types/ShareElement.d.ts @@ -6,10 +6,6 @@ interface ShareElementProps extends StandardProps { * @deprecated 使用mapkey替换key */ key?: string - /** 映射标记 - * @supported weapp - */ - mapkey?: string /** 映射标记 * @supported alipay */