add @systemapi and @since 9

Signed-off-by: haonan_7 <haonan2@huawei.com>
This commit is contained in:
haonan_7 2022-03-21 16:52:40 +08:00
parent 408b10d0fe
commit 5486756617

View File

@ -52,6 +52,13 @@ declare namespace storageStatistics {
cacheSize: number;
dataSize: number;
}
/**
* Get the bundlestat
*
* @since 9
* @systemapi
*/
function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void;
function getBundleStats(packageName: string): Promise<BundleStats>;