diff --git a/src/pim-types.ts b/src/pim-types.ts index a8a681d..344d0ac 100644 --- a/src/pim-types.ts +++ b/src/pim-types.ts @@ -106,6 +106,11 @@ export class TaskType extends EventType { return this.component.getFirstPropertyValue('due'); } + get endDate() { + // XXX: A hack to override this as it shouldn't be used + return undefined as any; + } + public clone() { const ret = new TaskType(new ICAL.Component(this.component.toJSON())); ret.color = this.color;