Add the new media permission to typescript (#39563)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39563

In https://github.com/facebook/react-native/pull/38880 we added the new media permission "READ_MEDIA_VISUAL_USER_SELECTED", this diff added it for TS as well

Reviewed By: NickGerleman, mdvacca

Differential Revision: D49371798

fbshipit-source-id: ebc77872f5609b411904b04e684b804584eeaaa9
This commit is contained in:
Lulu Wu
2023-09-20 12:31:17 -07:00
committed by Facebook GitHub Bot
parent ecf1b84795
commit 630cf3b21c
2 changed files with 2 additions and 0 deletions
@@ -48,6 +48,7 @@ export type PermissionType =
| 'android.permission.READ_MEDIA_IMAGES',
| 'android.permission.READ_MEDIA_VIDEO',
| 'android.permission.READ_MEDIA_AUDIO',
| 'android.permission.READ_MEDIA_VISUAL_USER_SELECTED'
| 'android.permission.WRITE_EXTERNAL_STORAGE'
| 'android.permission.BLUETOOTH_CONNECT'
| 'android.permission.BLUETOOTH_SCAN'
@@ -46,6 +46,7 @@ export type Permission =
| 'android.permission.READ_MEDIA_IMAGES'
| 'android.permission.READ_MEDIA_VIDEO'
| 'android.permission.READ_MEDIA_AUDIO'
| 'android.permission.READ_MEDIA_VISUAL_USER_SELECTED'
| 'android.permission.WRITE_EXTERNAL_STORAGE'
| 'android.permission.BLUETOOTH_CONNECT'
| 'android.permission.BLUETOOTH_SCAN'