diff --git a/api/@ohos.security.huks.d.ts b/api/@ohos.security.huks.d.ts index 4245e590019cd5ebb8d210a38d36356cbdf7da93..ec14239c990727723e089ee2d0faebdea3418945 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.