From cc267038e6030eb41b0c0cf0621a33c6041d58df Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Wed, 25 May 2016 00:28:19 -0400 Subject: [PATCH] add missing return type closes #172 --- src/plugins/calendar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/calendar.ts b/src/plugins/calendar.ts index ec199d58..ec19234a 100644 --- a/src/plugins/calendar.ts +++ b/src/plugins/calendar.ts @@ -271,7 +271,7 @@ export class Calendar { * @return A Promise that resolves with the list of calendars, or rejects with an error. */ @Cordova() - static listCalendars() { return; } + static listCalendars(): Promise { return; } /** * Get a list of all future events in the specified calendar. (iOS only)