diff --git a/src/plugins/calendar.ts b/src/plugins/calendar.ts index ec199d584..ec19234aa 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)