diff --git a/api/@internal/component/ets/text_common.d.ts b/api/@internal/component/ets/text_common.d.ts index a08a7c44838e0837403cd0839d9dae781d9c9506..5c12670995d28a140e6aee1808dfeb9bea206d5d 100644 --- a/api/@internal/component/ets/text_common.d.ts +++ b/api/@internal/component/ets/text_common.d.ts @@ -159,23 +159,14 @@ declare interface TextDataDetectorConfig { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 11 */ - /** - * Text data detect result callback. - * - * @type { ?function } - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @atomicservice - * @since 12 - */ - onDetectResultUpdate?: (result: string) => void /** * Text data detect result callback. * * @type { ?Callback } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice - * @since 20 - * @arkts 1.2 + * @since arkts {'1.1':'12','1.2':'20'} + * @arkts 1.1&1.2 */ onDetectResultUpdate?: Callback /** @@ -2361,4 +2352,4 @@ declare interface TextLayoutOptions { * @since 20 */ constraintWidth?: LengthMetrics; -} \ No newline at end of file +}