From c1dde7dfa33794a788cb2a6cc43116831e737aca Mon Sep 17 00:00:00 2001 From: Pawel Date: Fri, 3 Aug 2018 20:14:37 +0200 Subject: [PATCH] docs(datepicker): add 'multi-year' to union type for startView property Adds missing literal to union type. The issue pointed out that the possible value 'multi-year' is not listed on API page. Fixes #11700 --- src/lib/datepicker/datepicker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/datepicker/datepicker.ts b/src/lib/datepicker/datepicker.ts index ec0fb2b795b5..c3da05f328ed 100644 --- a/src/lib/datepicker/datepicker.ts +++ b/src/lib/datepicker/datepicker.ts @@ -148,7 +148,7 @@ export class MatDatepicker implements OnDestroy, CanColor { private _startAt: D | null; /** The view that the calendar should start in. */ - @Input() startView: 'month' | 'year' = 'month'; + @Input() startView: 'month' | 'year' | 'multi-year' = 'month'; /** Color palette to use on the datepicker's calendar. */ @Input()