From 08f6cec63245f22414838b6d1b2ef15448b03796 Mon Sep 17 00:00:00 2001 From: lihaitao Date: Wed, 18 Jun 2025 15:36:00 +0800 Subject: [PATCH] fix bms api args type Signed-off-by: lihaitao --- api/@ohos.bundle.bundleManager.d.ts | 4 ++-- api/@ohos.bundle.installer.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.bundle.bundleManager.d.ts b/api/@ohos.bundle.bundleManager.d.ts index 1f1b72f188..4bfd1f350b 100644 --- a/api/@ohos.bundle.bundleManager.d.ts +++ b/api/@ohos.bundle.bundleManager.d.ts @@ -4063,7 +4063,7 @@ declare namespace bundleManager { * * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED * @param { number } appDistributionType - Indicates the distribution type of the application, and if not passed in, it gets all the developerId. - * @returns { Array } Returns a list of developerId. + * @returns { Array } Returns a list of developerId. * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 202 - Permission denied, non-system app called system api. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types. @@ -4071,7 +4071,7 @@ declare namespace bundleManager { * @systemapi * @since 12 */ - function getDeveloperIds(appDistributionType?: number): Array; + function getDeveloperIds(appDistributionType?: number): Array; /** * Switch uninstall state of a specified application. diff --git a/api/@ohos.bundle.installer.d.ts b/api/@ohos.bundle.installer.d.ts index 5760badbf2..3140d7ab68 100644 --- a/api/@ohos.bundle.installer.d.ts +++ b/api/@ohos.bundle.installer.d.ts @@ -1982,12 +1982,12 @@ declare namespace installer { /** * Indicates the shared bundle dir paths. * - * @type { ?Array } + * @type { ?Array } * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi * @since 10 */ - sharedBundleDirPaths?: Array; + sharedBundleDirPaths?: Array; /** * Indicates the distribution type specified during bundle installation. -- Gitee