mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-29 00:51:29 +08:00
Merge pull request #24615 from Reidweb1/fix/expo-permission
Added calendar to Expo Permissions
This commit is contained in:
3
types/expo/index.d.ts
vendored
3
types/expo/index.d.ts
vendored
@@ -1701,7 +1701,7 @@ export namespace Pedometer {
|
||||
*/
|
||||
export namespace Permissions {
|
||||
type PermissionType = 'remoteNotifications' | 'location' |
|
||||
'camera' | 'contacts' | 'audioRecording';
|
||||
'camera' | 'contacts' | 'audioRecording' | 'calendar';
|
||||
type PermissionStatus = 'undetermined' | 'granted' | 'denied';
|
||||
type PermissionExpires = 'never';
|
||||
|
||||
@@ -1733,6 +1733,7 @@ export namespace Permissions {
|
||||
const NOTIFICATIONS: RemoteNotificationPermission;
|
||||
const CONTACTS: 'contacts';
|
||||
const SYSTEM_BRIGHTNESS: 'systemBrightness';
|
||||
const CALENDAR: 'calendar';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user