Skip to content

Commit 52bd64a

Browse files
committed
fix: types for askForCalendarAccess
1 parent a4cc3e0 commit 52bd64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

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

44
export function askForAccessibilityAccess(): undefined
5-
export function askForCalendarAccess(): Promise<Omit<PermissionType, 'restricted'>>
5+
export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise<Omit<PermissionType, 'restricted'>>
66
export function askForCameraAccess(): Promise<PermissionType>
77
export function askForContactsAccess(): Promise<Omit<PermissionType, 'restricted'>>
88
export function askForFoldersAccess(): Promise<Omit<PermissionType, 'restricted'>>

0 commit comments

Comments
 (0)