From 2d6575d04ccae6ed9c1f4a938370495d5877b0fd Mon Sep 17 00:00:00 2001 From: Juliano Date: Wed, 2 May 2018 22:48:49 -0300 Subject: [PATCH] add missing allowed value to startView type --- 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 3f1f1ca527fb..aa1c2205e683 100644 --- a/src/lib/datepicker/datepicker.ts +++ b/src/lib/datepicker/datepicker.ts @@ -192,7 +192,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()