diff --git a/interfaces/kits/js/declaration/@ohos.update.d.ts b/interfaces/kits/js/declaration/@ohos.update.d.ts index 3282d89bc4ae93e5a7e4977994a8bd6d4554d5f2..307991860416b8b2754ea14087ab57d5bc969036 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.