update api/@ohos.data.preferences.d.ts.

Signed-off-by: 张琼洁 <zhangqiongjie4@huawei.com>
This commit is contained in:
张琼洁 2024-07-23 08:02:25 +00:00 committed by Gitee
parent a13dffae4e
commit 6a2742b2a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -65,7 +65,7 @@ declare namespace preferences {
*/
/**
* Indicates possible value types
*
*
* @typedef {number | string | boolean | Array<number> | Array<string> | Array<boolean> | Uint8Array}
* @syscap SystemCapability.DistributedDataManager.Preferences.Core
* @atomicservice
@ -73,7 +73,7 @@ declare namespace preferences {
*/
/**
* Indicates possible value types
*
*
* @typedef {number | string | boolean | Array<number> | Array<string> | Array<boolean> | Uint8Array | object | bigint}
* @syscap SystemCapability.DistributedDataManager.Preferences.Core
* @atomicservice
@ -108,7 +108,6 @@ declare namespace preferences {
/**
* Maximum length of a key.
*
* @constant
* @syscap SystemCapability.DistributedDataManager.Preferences.Core
* @crossplatform
* @atomicservice
@ -143,7 +142,6 @@ declare namespace preferences {
/**
* Maximum length of a value.
*
* @constant
* @syscap SystemCapability.DistributedDataManager.Preferences.Core
* @crossplatform
* @atomicservice
@ -197,7 +195,7 @@ declare namespace preferences {
/**
* Application Group Id.
*
* @type { ?string | ?null | ?undefined }
* @type { ?(string | null | undefined) }
* @syscap SystemCapability.DistributedDataManager.Preferences.Core
* @StageModelOnly
* @atomicservice