Skip to content

Commit fc0159b

Browse files
authored
fix: add missing import to CalendarA11y example comment
1 parent f98c709 commit fc0159b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/angular-calendar/src/modules/common/calendar-a11y.provider.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ import { A11yParams } from './calendar-a11y.interface';
99
*
1010
* ```typescript
1111
* import { A11yParams, CalendarA11y } from 'angular-calendar';
12-
* import { formatDate } from '@angular/common';
12+
* import { formatDate, I18nPluralPipe } from '@angular/common';
1313
*
1414
* // adding your own a11y params
1515
* export interface CustomA11yParams extends A11yParams {
1616
* isDrSuess?: boolean;
1717
* }
1818
*
1919
* export class CustomCalendarA11y extends CalendarA11y {
20-
* constructor(protected i18nPlural: I18nPluralPipe) {
21-
* super(i18nPlural);
22-
* }
20+
* constructor(protected i18nPlural: I18nPluralPipe) {
21+
* super(i18nPlural);
22+
* }
2323
*
2424
* // overriding a function
2525
* public openDayEventsLandmark({ date, locale, isDrSuess }: CustomA11yParams): string {

0 commit comments

Comments
 (0)