IssueNo:#I4WA09:fix bundle docs

Description:fix bundle docs
Sig:SIG_ApplicaitonFramework
Feature or Bugfix:Feature
Binary Source:No

Signed-off-by: wanghang <wanghang26@huawei.com>
Change-Id: I82efe50748575984c5485075763aac44a9c29079
This commit is contained in:
wanghang 2022-03-04 11:03:15 +08:00
parent 01fae609ad
commit 7c1d33ddbc
2 changed files with 2 additions and 1 deletions

View File

@ -482,6 +482,7 @@ declare namespace bundle {
* @param bundleFlags Indicates the flag used to specify information contained in the BundleInfo object to be
* returned.
* @return Returns the BundleInfo object.
* @systemapi Hide this for inner system use
*/
function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback<BundleInfo>) : void
function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number) : Promise<BundleInfo>;

View File

@ -174,7 +174,7 @@ export interface ApplicationInfo {
/**
* @default Indicates entity type of the application
* @since 8
* @since 9
* @syscap SystemCapability.BundleManager.BundleFramework
*/
readonly entityType: string;