From 3d7d2741a184c5ac86f0bde56ebf345b24208091 Mon Sep 17 00:00:00 2001 From: Ekaterina Zaytseva Date: Thu, 11 Sep 2025 11:11:42 +0300 Subject: [PATCH] [ArkTS][Std] json: escompat->std.core Issue: #ICXEWS Signed-off-by: Ekaterina Zaytseva --- api/@ohos.buffer.d.ts | 2 ++ api/arkui/stateManagement/storage/persistenceV2.static.d.ets | 1 + .../stateManagement/storage/persistentStorage.static.d.ets | 2 ++ 3 files changed, 5 insertions(+) diff --git a/api/@ohos.buffer.d.ts b/api/@ohos.buffer.d.ts index 5289014e54..283ec98505 100644 --- a/api/@ohos.buffer.d.ts +++ b/api/@ohos.buffer.d.ts @@ -18,6 +18,8 @@ * @kit ArkTS */ +import { jsonx } from 'std/core' + /** * The Buffer class is a global type for dealing with binary data directly. It can be constructed in a variety of ways. * diff --git a/api/arkui/stateManagement/storage/persistenceV2.static.d.ets b/api/arkui/stateManagement/storage/persistenceV2.static.d.ets index 505235edf6..6805805cfa 100644 --- a/api/arkui/stateManagement/storage/persistenceV2.static.d.ets +++ b/api/arkui/stateManagement/storage/persistenceV2.static.d.ets @@ -22,6 +22,7 @@ import { ToJSONType, FromJSONType } from './persistentStorage'; import contextConstant from '@ohos.app.ability.contextConstant'; +import { jsonx } from 'std/core' /** * Function that returns default creator. diff --git a/api/arkui/stateManagement/storage/persistentStorage.static.d.ets b/api/arkui/stateManagement/storage/persistentStorage.static.d.ets index 80d2b50c8a..f7ffc3271a 100644 --- a/api/arkui/stateManagement/storage/persistentStorage.static.d.ets +++ b/api/arkui/stateManagement/storage/persistentStorage.static.d.ets @@ -19,6 +19,8 @@ * @kit ArkUI */ + import { jsonx } from 'std/core' + /** * Defines the PersistentStorage interface. * -- Gitee