Skip to content

Commit

Permalink
fix: types for askForCalendarAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed May 26, 2024
1 parent a4cc3e0 commit 52bd64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Project: node-mac-permissions

export function askForAccessibilityAccess(): undefined
export function askForCalendarAccess(): Promise<Omit<PermissionType, 'restricted'>>
export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise<Omit<PermissionType, 'restricted'>>
export function askForCameraAccess(): Promise<PermissionType>
export function askForContactsAccess(): Promise<Omit<PermissionType, 'restricted'>>
export function askForFoldersAccess(): Promise<Omit<PermissionType, 'restricted'>>
Expand Down

0 comments on commit 52bd64a

Please sign in to comment.