From 2427bfb7dbee7b0e4114674e35fd5f6381336072 Mon Sep 17 00:00:00 2001 From: zhiqizhou Date: Fri, 8 Aug 2025 11:12:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhiqizhou --- api/arkui/stateManagement/decorator.static.d.ets | 8 -------- .../stateManagement/storage/appStorage.static.d.ets | 9 ++++++++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/api/arkui/stateManagement/decorator.static.d.ets b/api/arkui/stateManagement/decorator.static.d.ets index b45e059060..cc645f1cf2 100644 --- a/api/arkui/stateManagement/decorator.static.d.ets +++ b/api/arkui/stateManagement/decorator.static.d.ets @@ -1241,14 +1241,6 @@ export declare interface ISubscribedWatches extends IWatchSubscriberRegister { executeOnSubscribingWatches(propertyName: string): void; } -export declare interface AbstractProperty extends IDecoratedMutableVariable { - info(): string; -} - -export declare interface SubscribedAbstractProperty extends AbstractProperty { - aboutToBeDeleted(): void; -} - /** * Defines Computed decoration variable interface. * diff --git a/api/arkui/stateManagement/storage/appStorage.static.d.ets b/api/arkui/stateManagement/storage/appStorage.static.d.ets index fd4177082a..52e2ad08fc 100644 --- a/api/arkui/stateManagement/storage/appStorage.static.d.ets +++ b/api/arkui/stateManagement/storage/appStorage.static.d.ets @@ -21,4 +21,11 @@ import { LocalStorage } from './localStorage'; -export const AppStorage: LocalStorage = new LocalStorage(); +/** +AppStorage singleton is sub-class of see LocalStorage for +UI state of app-wide access and same life cycle as the app. +@type { LocalStorage } +@syscap SystemCapability.ArkUI.ArkUI.Full +@since 20 +*/ +export declare const AppStorage: LocalStorage; -- Gitee