From 34c61a82195401362a542509a2da85e4e6985601 Mon Sep 17 00:00:00 2001 From: Anvette Date: Mon, 9 Jun 2025 11:38:29 +0800 Subject: [PATCH] fix Signed-off-by: Anvette --- api/@ohos.data.sendableRelationalStore.d.ets | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/api/@ohos.data.sendableRelationalStore.d.ets b/api/@ohos.data.sendableRelationalStore.d.ets index f626f6eb40..b354d04191 100644 --- a/api/@ohos.data.sendableRelationalStore.d.ets +++ b/api/@ohos.data.sendableRelationalStore.d.ets @@ -18,6 +18,7 @@ * @kit ArkData */ +import collections from '../arkts/@arkts.collections'; import lang from '../arkts/@arkts.lang'; import relationalStore from './@ohos.data.relationalStore'; @@ -98,31 +99,31 @@ declare namespace sendableRelationalStore { /** * Defines multiple assets in a column. * - * @typedef { Array } Assets + * @typedef { collections.Array } Assets * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type Assets = Array; + type Assets = collections.Array; /** * Defines the types of the value in a KV pair. * - * @typedef { null | number | string | boolean | Uint8Array | Asset | Assets | - * Float32Array | bigint } ValueType + * @typedef { null | number | string | boolean | collections.Uint8Array | Asset | Assets | + * collections.Float32Array | bigint } ValueType * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type ValueType = null | number | string | boolean | Uint8Array | Asset | Assets | - Float32Array | bigint; + type ValueType = null | number | string | boolean | collections.Uint8Array | Asset | Assets | + collections.Float32Array | bigint; /** * Defines the data stored in KV pairs in a ValuesBucket object. * - * @typedef { Map } ValuesBucket + * @typedef { collections.Map } ValuesBucket * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type ValuesBucket = Map; + type ValuesBucket = collections.Map; /** * Defines NonSendableBucket for convenience. @@ -196,4 +197,4 @@ declare namespace sendableRelationalStore { function toSendableAsset(asset: NonSendableAsset): Asset; } -export default sendableRelationalStore; +export default sendableRelationalStore; \ No newline at end of file -- Gitee