mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
Add type declaration for MessageEvents.data
Issue: https://gitee.com/openharmony/interface_sdk-js/issues/IAHNNR Signed-off-by: milkpotatoes <chenshulin5@huawei.com> Change-Id: Idb07b30b5aecbe622cee6185f1f20aa415d68e78
This commit is contained in:
parent
89aaa6ea61
commit
85ff14c0ef
5
api/@ohos.worker.d.ts
vendored
5
api/@ohos.worker.d.ts
vendored
@ -410,12 +410,14 @@ export interface MessageEvents extends Event {
|
||||
/**
|
||||
* Data transferred when an exception occurs.
|
||||
*
|
||||
* @type { any }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* Data transferred when an exception occurs.
|
||||
*
|
||||
* @type { any }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -423,13 +425,14 @@ export interface MessageEvents extends Event {
|
||||
/**
|
||||
* Data transferred when an exception occurs.
|
||||
*
|
||||
* @type { any }
|
||||
* @readonly
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 11
|
||||
*/
|
||||
readonly data;
|
||||
readonly data: any;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user