mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 06:22:55 +08:00
Removed v24 changes
This commit is contained in:
@@ -528,7 +528,6 @@ Permissions.CONTACTS === 'contacts';
|
||||
Permissions.NOTIFICATIONS === 'remoteNotifications';
|
||||
Permissions.REMOTE_NOTIFICATIONS === 'remoteNotifications';
|
||||
Permissions.SYSTEM_BRIGHTNESS === 'systemBrightness';
|
||||
Permissions.CALENDAR === 'calendar';
|
||||
async () => {
|
||||
const result = await Permissions.askAsync(Permissions.CAMERA);
|
||||
|
||||
|
||||
3
types/expo/v24/index.d.ts
vendored
3
types/expo/v24/index.d.ts
vendored
@@ -1681,7 +1681,7 @@ export namespace Pedometer {
|
||||
*/
|
||||
export namespace Permissions {
|
||||
type PermissionType = 'remoteNotifications' | 'location' |
|
||||
'camera' | 'contacts' | 'audioRecording' | 'calendar';
|
||||
'camera' | 'contacts' | 'audioRecording';
|
||||
type PermissionStatus = 'undetermined' | 'granted' | 'denied';
|
||||
type PermissionExpires = 'never';
|
||||
|
||||
@@ -1713,7 +1713,6 @@ export namespace Permissions {
|
||||
const NOTIFICATIONS: RemoteNotificationPermission;
|
||||
const CONTACTS: 'contacts';
|
||||
const SYSTEM_BRIGHTNESS: 'systemBrightness';
|
||||
const CALENDAR: 'calendar';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user