fix: lint

This commit is contained in:
Johannes Millan 2021-02-04 20:53:59 +01:00
parent 08383bd13f
commit 9ab3c9aac9
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,11 @@ import { CALENDAR_MIN_TASK_DURATION, STATIC_CALENDAR_OPTS } from './calendar.con
const WEIRD_MAGIC_HOUR = 60000 * 60;
interface CalOpsAll extends CalendarOptions {
eventResize: any;
eventDrop: any;
}
@Component({
// apparently calendar does not work, so we add a prefix
selector: 'sup-calendar',
@ -28,7 +33,7 @@ export class CalendarComponent implements OnDestroy {
calOptions?: CalendarOptions;
private DEFAULT_CAL_OPTS: CalendarOptions = {
private DEFAULT_CAL_OPTS: CalOpsAll = {
...STATIC_CALENDAR_OPTS,
eventResize: this._handleResize.bind(this),
eventDrop: this._handleDrop.bind(this),

View File

@ -21,6 +21,7 @@ const TASK: TaskCopy = {
reminderId: null,
created: Date.now(),
repeatCfgId: null,
plannedAt: null,
_showSubTasksMode: ShowSubTasksMode.Show,