From 84ce3b0094e7d8611f8017a98532cb48f1c5c4ca Mon Sep 17 00:00:00 2001 From: jackd320 Date: Thu, 24 Nov 2022 03:49:48 +0000 Subject: [PATCH 1/3] Signed-off-by: jackd320 Signed-off-by: jackd320 --- api/@ohos.update.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index 8ad013de27..28fb9bcf1c 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -27,7 +27,7 @@ declare namespace update { * Get online update handler for the calling device. * * @param upgradeInfo indicates client app and business type - * @return online update handler to perform online update + * @returns online update handler to perform online update * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 @@ -37,7 +37,7 @@ declare namespace update { /** * Get restore handler. * - * @return restore handler to perform factory reset + * @returns restore handler to perform factory reset * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 @@ -47,7 +47,7 @@ declare namespace update { /** * Get local update handler. * - * @return local update handler to perform local update + * @returns local update handler to perform local update * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 -- Gitee From 6a3ea46f6ea872981e7ae0586f8b2aef628165f5 Mon Sep 17 00:00:00 2001 From: jackd320 Date: Fri, 25 Nov 2022 03:13:14 +0000 Subject: [PATCH 2/3] Signed-off-by: jackd320 Signed-off-by: jackd320 --- api/@ohos.update.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index 28fb9bcf1c..12d123a76e 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -27,7 +27,7 @@ declare namespace update { * Get online update handler for the calling device. * * @param upgradeInfo indicates client app and business type - * @returns online update handler to perform online update + * @returns online update handler to perform online update. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 @@ -37,7 +37,7 @@ declare namespace update { /** * Get restore handler. * - * @returns restore handler to perform factory reset + * @returns restore handler to perform factory reset. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 @@ -47,7 +47,7 @@ declare namespace update { /** * Get local update handler. * - * @returns local update handler to perform local update + * @returns local update handler to perform local update. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. * @since 9 -- Gitee From 03c43783e8c6a9a69e035bdf1eff6828b2d639c0 Mon Sep 17 00:00:00 2001 From: jackd320 Date: Fri, 25 Nov 2022 06:49:16 +0000 Subject: [PATCH 3/3] Signed-off-by: jackd320 Signed-off-by: jackd320 --- api/@ohos.update.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index 12d123a76e..dff4faba5f 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -26,7 +26,7 @@ declare namespace update { /** * Get online update handler for the calling device. * - * @param upgradeInfo indicates client app and business type + * @param upgradeInfo indicates client app and business type. * @returns online update handler to perform online update. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 11500104 - IPC error. -- Gitee