@@ -1246,16 +1246,16 @@ describe('MatTabGroup labels aligned with a config', () => {
12461246 imports : [ MatTabsModule ] ,
12471247} )
12481248class SimpleTabsTestApp {
1249- @ViewChild ( MatTabGroup ) tabGroup : MatTabGroup ;
1250- @ViewChildren ( MatTab ) tabs : QueryList < MatTab > ;
1249+ @ViewChild ( MatTabGroup ) tabGroup ! : MatTabGroup ;
1250+ @ViewChildren ( MatTab ) tabs ! : QueryList < MatTab > ;
12511251 selectedIndex : number = 1 ;
12521252 focusEvent : any ;
12531253 selectEvent : any ;
12541254 disableRipple : boolean = false ;
12551255 contentTabIndex : number | null = null ;
12561256 headerPosition : MatTabHeaderPosition = 'above' ;
1257- ariaLabel : string ;
1258- ariaLabelledby : string ;
1257+ ariaLabel ! : string ;
1258+ ariaLabelledby ! : string ;
12591259 secondTabId : string | null = null ;
12601260 handleFocus ( event : any ) {
12611261 this . focusEvent = event ;
@@ -1347,7 +1347,7 @@ class BindedTabsTestApp {
13471347 imports : [ MatTabsModule ] ,
13481348} )
13491349class DisabledTabsTestApp {
1350- @ViewChildren ( MatTab ) tabs : QueryList < MatTab > ;
1350+ @ViewChildren ( MatTab ) tabs ! : QueryList < MatTab > ;
13511351 isDisabled = false ;
13521352}
13531353
@@ -1370,7 +1370,7 @@ class AsyncTabsTestApp implements OnInit {
13701370 { label : 'two' , content : 'two' } ,
13711371 ] ;
13721372
1373- tabs : Observable < any > ;
1373+ tabs ! : Observable < any > ;
13741374
13751375 ngOnInit ( ) {
13761376 // Use ngOnInit because there is some issue with scheduling the async task in the constructor.
@@ -1414,7 +1414,7 @@ class TabGroupWithSimpleApi {
14141414 imports : [ MatTabsModule ] ,
14151415} )
14161416class NestedTabs {
1417- @ViewChildren ( MatTabGroup ) groups : QueryList < MatTabGroup > ;
1417+ @ViewChildren ( MatTabGroup ) groups ! : QueryList < MatTabGroup > ;
14181418}
14191419
14201420@Component ( {
@@ -1443,8 +1443,8 @@ class TemplateTabs {}
14431443 imports : [ MatTabsModule ] ,
14441444} )
14451445class TabGroupWithAriaInputs {
1446- ariaLabel : string ;
1447- ariaLabelledby : string ;
1446+ ariaLabel ! : string ;
1447+ ariaLabelledby ! : string ;
14481448}
14491449
14501450@Component ( {
@@ -1485,7 +1485,7 @@ class TabsWithCustomAnimationDuration {}
14851485 imports : [ MatTabsModule ] ,
14861486} )
14871487class TabGroupWithIndirectDescendantTabs {
1488- @ViewChild ( MatTabGroup ) tabGroup : MatTabGroup ;
1488+ @ViewChild ( MatTabGroup ) tabGroup ! : MatTabGroup ;
14891489}
14901490
14911491@Component ( {
@@ -1520,7 +1520,7 @@ class TabGroupWithInkBarFitToContent {
15201520 imports : [ MatTabsModule ] ,
15211521} )
15221522class TabGroupWithSpaceAbove {
1523- @ViewChild ( MatTabGroup ) tabGroup : MatTabGroup ;
1523+ @ViewChild ( MatTabGroup ) tabGroup ! : MatTabGroup ;
15241524}
15251525
15261526@Component ( {
@@ -1559,8 +1559,8 @@ class NestedTabGroupWithLabel {}
15591559 imports : [ MatTabsModule ] ,
15601560} )
15611561class TabsWithClassesTestApp {
1562- labelClassList : string | string [ ] ;
1563- bodyClassList : string | string [ ] ;
1562+ labelClassList ! : string | string [ ] ;
1563+ bodyClassList ! : string | string [ ] ;
15641564}
15651565
15661566@Component ( {
0 commit comments