From 24c1a436de600942da0c7a1b799e3c9eb471acb4 Mon Sep 17 00:00:00 2001 From: haixiangw Date: Mon, 21 Feb 2022 23:25:34 -0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9huks.d.ts=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haixiangw --- api/@ohos.security.huks.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.security.huks.d.ts b/api/@ohos.security.huks.d.ts index 4245e59001..ec14239c99 100755 --- a/api/@ohos.security.huks.d.ts +++ b/api/@ohos.security.huks.d.ts @@ -102,7 +102,7 @@ declare namespace huks { * @param options Indicates the properties of the update operation. */ function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback) : void; - function update(handle: number, token?: Uint8Array, options: HuksOptions,) : Promise; + function update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise; /** * Finish Operation. @@ -122,7 +122,7 @@ declare namespace huks { * @param options Indicates the properties of the abort operation. */ function abort(handle: number, options: HuksOptions, callback: AsyncCallback) : void; - function abort(handle: number, options: HuksOptions) : Promise(HuksResult>; + function abort(handle: number, options: HuksOptions) : Promise; /** * Get the sdk version. -- Gitee