File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1172,9 +1172,6 @@ describe('MdSelect', () => {
11721172 } ) ;
11731173
11741174 it ( 'should adjust position of centered option if there is little space above' , async ( ( ) => {
1175- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1176- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1177-
11781175 const selectMenuHeight = 256 ;
11791176 const selectMenuViewportPadding = 8 ;
11801177 const selectItemHeight = 48 ;
@@ -1228,9 +1225,6 @@ describe('MdSelect', () => {
12281225 } ) ) ;
12291226
12301227 it ( 'should adjust position of centered option if there is little space below' , async ( ( ) => {
1231- const formField = fixture . debugElement . query ( By . css ( '.mat-form-field' ) ) . nativeElement ;
1232- const trigger = fixture . debugElement . query ( By . css ( '.mat-select-trigger' ) ) . nativeElement ;
1233-
12341228 const selectMenuHeight = 256 ;
12351229 const selectMenuViewportPadding = 8 ;
12361230 const selectItemHeight = 48 ;
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ import {
4242 ConnectedOverlayDirective ,
4343 Overlay ,
4444 RepositionScrollStrategy ,
45+ // This import is only used to define a generic type. The current TypeScript version incorrectly
46+ // considers such imports as unused (https://github.com/Microsoft/TypeScript/issues/14953)
47+ // tslint:disable-next-line:no-unused-variable
4548 ScrollStrategy ,
4649 ViewportRuler
4750} from '@angular/cdk/overlay' ;
You can’t perform that action at this time.
0 commit comments