File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ describe('MatMenuBarItem', () => {
5959 imports : [ MatMenuBarModule , CdkMenuModule ] ,
6060} )
6161class SimpleMenuBarItem {
62- @ViewChild ( CdkMenuItem ) menubarItem : MatMenuBarItem ;
63- @ViewChild ( CdkMenuItem , { read : ElementRef } ) nativeMenubarItem : ElementRef ;
62+ @ViewChild ( CdkMenuItem ) menubarItem ! : MatMenuBarItem ;
63+ @ViewChild ( CdkMenuItem , { read : ElementRef } ) nativeMenubarItem ! : ElementRef ;
6464
65- @ViewChild ( 'menu' ) menu : CdkMenu ;
65+ @ViewChild ( 'menu' ) menu ! : CdkMenu ;
6666}
Original file line number Diff line number Diff line change @@ -52,6 +52,6 @@ describe('MatMenuBar', () => {
5252 imports : [ MatMenuBarModule ] ,
5353} )
5454class SimpleMatMenuBar {
55- @ViewChild ( CdkMenuBar ) matMenubar : MatMenuBar ;
56- @ViewChild ( CdkMenuBar , { read : ElementRef } ) nativeMatMenubar : ElementRef ;
55+ @ViewChild ( CdkMenuBar ) matMenubar ! : MatMenuBar ;
56+ @ViewChild ( CdkMenuBar , { read : ElementRef } ) nativeMatMenubar ! : ElementRef ;
5757}
You can’t perform that action at this time.
0 commit comments