diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index fa1352b5822950a341df81b0baa2fc7ee1293a1b..690f8210bd3d95def0f453d0d4e69347615e01c4 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -11149,11 +11149,23 @@ declare interface BaseEvent { * @crossplatform * @form * @atomicservice - * @since arkts {'1.1':'11','1.2':'20'} - * @arkts 1.1&1.2 + * @since 11 */ timestamp: number; + /** + * Event timestamp. + * + * @type { number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 20 + * @arkts 1.2 + */ + timestamp: long; + /** * the event source info. * diff --git a/api/@internal/component/ets/gesture.d.ts b/api/@internal/component/ets/gesture.d.ts index 9cbc52b43fd320e7323ffcc36fae341aa46fe10f..7179191d87bfdab26c5f56da387915688292d61b 100644 --- a/api/@internal/component/ets/gesture.d.ts +++ b/api/@internal/component/ets/gesture.d.ts @@ -21,6 +21,7 @@ /*** if arkts 1.2 */ import { BaseEvent, SourceTool, Callback } from './common' import { InteractionHand } from './enums' +import { VoidCallback } from './units'; /*** endif */ /** @@ -3709,14 +3710,14 @@ export declare class GestureGroup { /** * The Gesture group is successfully recognized and a callback is triggered when the touch cancel event is received. * - * @param { Callback } event + * @param { VoidCallback } event * @returns { GestureGroup } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ - onCancel(event: Callback): GestureGroup; + onCancel(event: VoidCallback): GestureGroup; } /*** endif */ @@ -5070,14 +5071,14 @@ export declare class GestureGroupHandler extends GestureHandler { /** * The GestureGroup gesture is successfully recognized and a callback is triggered when the touch cancel event is received. * - * @param { Callback } event + * @param { VoidCallback } event * @returns { this } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ - onCancel(event: Callback): this; + onCancel(event: VoidCallback): this; } /*** endif */