tsinterface Task { title: string; plan?: { start?: Date; duration? DateFns.Duration; }; record?: { start: Date; end: Date; }; };