diff --git a/api/@ohos.abilityAccessCtrl.d.ts b/api/@ohos.abilityAccessCtrl.d.ts index 5870b3f68..ccb499b25 100644 --- a/api/@ohos.abilityAccessCtrl.d.ts +++ b/api/@ohos.abilityAccessCtrl.d.ts @@ -824,6 +824,7 @@ export { Permissions }; /** * PermissionRequestResult interface. * + * @typedef { _PermissionRequestResult } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -832,6 +833,7 @@ export { Permissions }; /** * PermissionRequestResult interface. * + * @typedef { _PermissionRequestResult } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -842,6 +844,7 @@ export type PermissionRequestResult = _PermissionRequestResult; /** * Context interface. * + * @typedef { _Context } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -850,6 +853,7 @@ export type PermissionRequestResult = _PermissionRequestResult; /** * Context interface. * + * @typedef { _Context } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform diff --git a/api/security/PermissionRequestResult.d.ts b/api/security/PermissionRequestResult.d.ts index 5b958a054..f827fcfe6 100644 --- a/api/security/PermissionRequestResult.d.ts +++ b/api/security/PermissionRequestResult.d.ts @@ -46,6 +46,7 @@ export default class PermissionRequestResult { /** * The permissions passed in by the user. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @since 9 @@ -53,6 +54,7 @@ export default class PermissionRequestResult { /** * The permissions passed in by the user. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -61,6 +63,7 @@ export default class PermissionRequestResult { /** * The permissions passed in by the user. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -73,6 +76,7 @@ export default class PermissionRequestResult { * The results for the corresponding request permissions. The value 0 indicates that a * permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @since 9 @@ -81,6 +85,7 @@ export default class PermissionRequestResult { * The results for the corresponding request permissions. The value 0 indicates that a * permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -90,6 +95,7 @@ export default class PermissionRequestResult { * The results for the corresponding request permissions. The value 0 indicates that a * permission is granted, the value -1 indicates not, and the value 2 indicates the request is invalid. * + * @type { Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @crossplatform @@ -102,6 +108,7 @@ export default class PermissionRequestResult { * Specifies whether a dialog box is shown for each requested permission. * The value true means that a dialog box is shown, and false means the opposite. * + * @type { ?Array } * @syscap SystemCapability.Security.AccessToken * @stagemodelonly * @atomicservice