From 52bd64a79a2a7ded1e3f87af070bfb95cd510bb5 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Sun, 26 May 2024 10:07:41 +0200 Subject: [PATCH] fix: types for askForCalendarAccess --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 5a7d90e..6ac79cc 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,7 +2,7 @@ // Project: node-mac-permissions export function askForAccessibilityAccess(): undefined -export function askForCalendarAccess(): Promise> +export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise> export function askForCameraAccess(): Promise export function askForContactsAccess(): Promise> export function askForFoldersAccess(): Promise>