diff --git a/src/@ionic-native/plugins/calendar/index.ts b/src/@ionic-native/plugins/calendar/index.ts index 7d055db3c..9186ab133 100644 --- a/src/@ionic-native/plugins/calendar/index.ts +++ b/src/@ionic-native/plugins/calendar/index.ts @@ -475,6 +475,21 @@ export class Calendar extends IonicNativePlugin { return; } + /** + * Delete an event by id. + * + * @param {string} [id] The event id + * @param {Date} [fromDate] The date where it start deleting from + * @return Returns a Promise + */ + @Cordova() + deleteEventById( + id: string, + fromDate?: Date + ): Promise { + return; + } + /** * Open the calendar at the specified date. * @param {Date} date The date you want to open the calendar on