Skip to content

Commit 6f35fdc

Browse files
Nevaanjelbourn
authored andcommitted
docs(datepicker): add 'multi-year' to union type for startView property (#12518)
Adds missing literal to union type. The issue pointed out that the possible value 'multi-year' is not listed on API page. Fixes #11700
1 parent 765990e commit 6f35fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/datepicker/datepicker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class MatDatepicker<D> implements OnDestroy, CanColor {
148148
private _startAt: D | null;
149149

150150
/** The view that the calendar should start in. */
151-
@Input() startView: 'month' | 'year' = 'month';
151+
@Input() startView: 'month' | 'year' | 'multi-year' = 'month';
152152

153153
/** Color palette to use on the datepicker's calendar. */
154154
@Input()

0 commit comments

Comments
 (0)