diff --git a/api/@ohos.privacyManager.d.ts b/api/@ohos.privacyManager.d.ts index da3c676ade9bb69c4cc1caa1dfe9d051ad016be6..73810c249713cda015847b3a680218b9b6896c4d 100644 --- a/api/@ohos.privacyManager.d.ts +++ b/api/@ohos.privacyManager.d.ts @@ -384,7 +384,7 @@ declare namespace privacyManager { * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - function getPermissionUsedTypeInfos(tokenId?: int, permissionName?: Permissions): Promise>; + function getPermissionUsedTypeInfos(tokenId?: int | null, permissionName?: Permissions): Promise>; /** * Sets the toggle state of permission access records for the current user.