Skip to content

Commit e113096

Browse files
committed
fix: correct types for apple events
1 parent a158d8a commit e113096

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Type definitions for node-mac-permissions
22
// Project: node-mac-permissions
33

4-
export function askForAppleEventsAccess(): Promise<Omit<PermissionType, 'restricted'>>
4+
export function askForAppleEventsAccess(targetAppBundleId: string, shouldPrompt?: boolean): Promise<Omit<PermissionType, 'restricted'>>
55
export function askForAccessibilityAccess(): undefined
66
export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise<Omit<PermissionType, 'restricted'>>
77
export function askForCameraAccess(): Promise<PermissionType>
@@ -19,7 +19,6 @@ export function getAuthStatus(authType: AuthType): PermissionType | 'not determi
1919

2020
export type AuthType =
2121
| 'accessibility'
22-
| 'apple-events'
2322
| 'bluetooth'
2423
| 'calendar'
2524
| 'camera'

0 commit comments

Comments
 (0)