Skip to content

Commit

Permalink
refactor: remove useless types
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Feb 11, 2018
1 parent 8892908 commit 669017a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/modules/month/calendar-month-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,33 +177,29 @@ export class CalendarMonthViewComponent
* If you add the `cssClass` property to a day in the body it will add that class to the cell element in the template
*/
@Output()
beforeViewRender: EventEmitter<
CalendarMonthViewBeforeRenderEvent
> = new EventEmitter();
beforeViewRender = new EventEmitter<CalendarMonthViewBeforeRenderEvent>();

/**
* Called when the day cell is clicked
*/
@Output()
dayClicked: EventEmitter<{ day: MonthViewDay }> = new EventEmitter<{
dayClicked = new EventEmitter<{
day: MonthViewDay;
}>();

/**
* Called when the event title is clicked
*/
@Output()
eventClicked: EventEmitter<{ event: CalendarEvent }> = new EventEmitter<{
eventClicked = new EventEmitter<{
event: CalendarEvent;
}>();

/**
* Called when an event is dragged and dropped
*/
@Output()
eventTimesChanged: EventEmitter<
CalendarEventTimesChangedEvent
> = new EventEmitter<CalendarEventTimesChangedEvent>();
eventTimesChanged = new EventEmitter<CalendarEventTimesChangedEvent>();

/**
* @hidden
Expand Down

0 comments on commit 669017a

Please sign in to comment.