From ad00890b9abf5da67401cf9ef8cb50ecceb742f8 Mon Sep 17 00:00:00 2001 From: haonan_7 Date: Mon, 21 Mar 2022 16:52:40 +0800 Subject: [PATCH] fixed 5486756 from https://gitee.com/haonan-seven/interface_sdk-js/pulls/1282 add @systemapi and @since 9 Signed-off-by: haonan_7 --- api/@ohos.storageStatistics.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/@ohos.storageStatistics.d.ts b/api/@ohos.storageStatistics.d.ts index be578883e2..b8e57a2ebe 100644 --- a/api/@ohos.storageStatistics.d.ts +++ b/api/@ohos.storageStatistics.d.ts @@ -52,6 +52,13 @@ declare namespace storageStatistics { cacheSize: number; dataSize: number; } + +/** + * Get the bundlestat + * + * @since 9 + * @systemapi + */ function getBundleStats(packageName: string, callback: AsyncCallback): void; function getBundleStats(packageName: string): Promise; -- Gitee