From f737f91c4bde1232d9bfb5201b2b6dbc467bf9e5 Mon Sep 17 00:00:00 2001 From: puyajun Date: Tue, 8 Mar 2022 09:30:43 +0800 Subject: [PATCH] puyajun@huawei.com Signed-off-by: puyajun Change-Id: I1e6902f3cffce3633f0b3d65e9a24dcd08351479 --- api/@internal/component/ets/common.d.ts | 33 ++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 9f4697c2fd..4fb39b7902 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -22,7 +22,7 @@ declare const Component: ClassDecorator; * Defining Entry ClassDecorator. * @since 7 */ -declare const Entry: ClassDecorator; +declare const Entry: ClassDecorator & ((value: any) => ClassDecorator); /** * Defining Observed ClassDecorator. @@ -120,6 +120,37 @@ declare const Extend: MethodDecorator & ((value: any) => MethodDecorator); */ declare const CustomDialog: ClassDecorator; +/** + * Defining LocalStorageLink PropertyDecorator. + * @since 8 + */ +declare const LocalStorageLink: PropertyDecorator & ((value: string) => PropertyDecorator); + +/** + * Defining LocalStorageProp PropertyDecorator. + * @since 8 + */ +declare const LocalStorageProp: PropertyDecorator & ((value: string) => PropertyDecorator); + + +/** + * Defining LocalStorage. + * @since 8 + */ +declare class LocalStorage { + /** + * constructor. + * @since 8 + */ + constructor(value?: Object); + + /** + * Set GetShared. + * @since 8 + */ + static GetShared(): any; +} + /** * Defines the data type of the interface restriction. * @since 7 -- Gitee