From a7fbc059285246907dee1640327295bf29859c1b Mon Sep 17 00:00:00 2001 From: Mcmahan Date: Sat, 1 Aug 2020 11:09:21 -0500 Subject: [PATCH] decare requestPermissions in typescript defs --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 7b76c8f..fc21025 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -168,7 +168,7 @@ export default class ReactNativeCalendarEvents { /** Get calendar authorization status. */ static checkPermissions(): Promise; /** Request calendar authorization. Authorization must be granted before accessing calendar events. */ - static checkPermissions(): Promise; + static requestPermissions(): Promise; /** Finds all the calendars on the device. */ static findCalendars(): Promise;