From 4a7c15c7b7991d5fadc6974a18892d66ce8a7886 Mon Sep 17 00:00:00 2001 From: "h.hu" Date: Thu, 4 Nov 2021 16:55:42 +0800 Subject: [PATCH] modify d.ts for rebootAndCleanUserData Signed-off-by: h.hu --- interfaces/kits/js/declaration/@ohos.update.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/kits/js/declaration/@ohos.update.d.ts b/interfaces/kits/js/declaration/@ohos.update.d.ts index 3282d89b..30799186 100644 --- a/interfaces/kits/js/declaration/@ohos.update.d.ts +++ b/interfaces/kits/js/declaration/@ohos.update.d.ts @@ -373,12 +373,12 @@ declare namespace update { applyNewVersion(): Promise; /** - * Reboot to clean cache. + * Reboot to clean userdata. * * @since 6 */ - rebootAndCleanCache(callback: AsyncCallback): void; - rebootAndCleanCache(): Promise; + rebootAndCleanUserData(callback: AsyncCallback): void; + rebootAndCleanUserData(): Promise; /** * verify update package. -- Gitee