Skip to content

Commit 3cdbf96

Browse files
kobLvlio20
authored andcommitted
fixed selection-event typos (added n in event and removed .) (#488)
* fixed selection-event typos (added e in event and removed .) * removed duplicated import of selection-event.model from date-picker.directive resolves #489
1 parent 5702231 commit 3cdbf96

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/demo/demo/demo.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {Moment} from 'moment';
99
import {GaService} from '../services/ga/ga.service';
1010
import {ECalendarValue} from '../../lib/common/types/calendar-value-enum';
1111
import {INavEvent} from '../../lib/common/models/navigation-event.model';
12-
import {ISelectionEvent} from '../../lib/common/types/selection-evet.model';
12+
import {ISelectionEvent} from '../../lib/common/types/selection-event.model';
1313

1414
const moment = momentNs;
1515

src/lib/common/types/selection-evet.model.ts renamed to src/lib/common/types/selection-event.model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {SingleCalendarValue} from './single-calendar-value';
22
import {unitOfTime} from 'moment';
3-
import {SelectEvent} from './selection-evet.enum.';
3+
import {SelectEvent} from './selection-event.enum';
44

55
export interface ISelectionEvent {
66
date: SingleCalendarValue;

src/lib/date-picker/date-picker.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ import {DateValidator} from '../common/types/validator.type';
5050
import {MonthCalendarComponent} from '../month-calendar/month-calendar.component';
5151
import {DayTimeCalendarComponent} from '../day-time-calendar/day-time-calendar.component';
5252
import {INavEvent} from '../common/models/navigation-event.model';
53-
import {SelectEvent} from '../common/types/selection-evet.enum.';
54-
import {ISelectionEvent} from '../common/types/selection-evet.model';
53+
import {SelectEvent} from '../common/types/selection-event.enum';
54+
import {ISelectionEvent} from '../common/types/selection-event.model';
5555

5656
@Component({
5757
selector: 'dp-date-picker',

src/lib/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export {IDayEvent} from './day-calendar/day.model';
1010
export {IDatePickerConfig} from './date-picker/date-picker-config.model';
1111
export {IDatePickerDirectiveConfig} from './date-picker/date-picker-directive-config.model';
1212
export {IMonthCalendarConfig} from './month-calendar/month-calendar-config';
13-
export {ISelectionEvent} from './common/types/selection-evet.model';
14-
export {SelectEvent} from './common/types/selection-evet.enum.';
13+
export {ISelectionEvent} from './common/types/selection-event.model';
14+
export {SelectEvent} from './common/types/selection-event.enum';
1515

1616
export * from './date-picker.module';

0 commit comments

Comments
 (0)