From 715581651dc3e8e50a1a18bc6993cf0bff0c392d Mon Sep 17 00:00:00 2001 From: jidong Date: Mon, 7 Mar 2022 11:25:32 +0800 Subject: [PATCH] fixed 7a19bcd from https://gitee.com/JiDong-CS/interface_sdk-js/pulls/937 modify spelling error in description Signed-off-by: jidong --- api/@ohos.account.appAccount.d.ts | 8 ++++---- api/@ohos.account.distributedAccount.d.ts | 2 +- api/@ohos.account.osAccount.d.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.account.appAccount.d.ts b/api/@ohos.account.appAccount.d.ts index a08f33eac5..0a1f50f89b 100644 --- a/api/@ohos.account.appAccount.d.ts +++ b/api/@ohos.account.appAccount.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -269,7 +269,7 @@ declare namespace appAccount { * @since 7 * @return void */ - off(type: 'change', callback?: Callback): void; + off(type: 'change', callback?: Callback>): void; /** * Authenticates an application account to get an oauth token. @@ -326,7 +326,7 @@ declare namespace appAccount { deleteOAuthToken(name: string, owner: string, authType: string, token: string): Promise; /** - * Sets the oauth token visibility of the specifed authentication type to a third-party application. + * Sets the oauth token visibility of the specified authentication type to a third-party application. *

* Only the owner of the application account has the permission to call this method. * @@ -341,7 +341,7 @@ declare namespace appAccount { setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise; /** - * Checks the oauth token visibility of the specifed authentication type for a third-party application. + * Checks the oauth token visibility of the specified authentication type for a third-party application. *

* Only the owner of the application account has the permission to call this method. * diff --git a/api/@ohos.account.distributedAccount.d.ts b/api/@ohos.account.distributedAccount.d.ts index 33ba7f02e2..38a0fa43bd 100644 --- a/api/@ohos.account.distributedAccount.d.ts +++ b/api/@ohos.account.distributedAccount.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/api/@ohos.account.osAccount.d.ts b/api/@ohos.account.osAccount.d.ts index 9229e35f59..4dc75da481 100644 --- a/api/@ohos.account.osAccount.d.ts +++ b/api/@ohos.account.osAccount.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at -- Gitee