We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4cc3e0 commit 52bd64aCopy full SHA for 52bd64a
index.d.ts
@@ -2,7 +2,7 @@
2
// Project: node-mac-permissions
3
4
export function askForAccessibilityAccess(): undefined
5
-export function askForCalendarAccess(): Promise<Omit<PermissionType, 'restricted'>>
+export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise<Omit<PermissionType, 'restricted'>>
6
export function askForCameraAccess(): Promise<PermissionType>
7
export function askForContactsAccess(): Promise<Omit<PermissionType, 'restricted'>>
8
export function askForFoldersAccess(): Promise<Omit<PermissionType, 'restricted'>>
0 commit comments