@@ -3,7 +3,7 @@ import {LEFT_ARROW, UP_ARROW, RIGHT_ARROW, DOWN_ARROW, TAB} from '@angular/cdk/k
33import { CdkTableModule } from '@angular/cdk/table' ;
44import { dispatchKeyboardEvent } from '@angular/cdk/testing/private' ;
55import { CommonModule } from '@angular/common' ;
6- import { Component , Directive , ElementRef , Type , ViewChild } from '@angular/core' ;
6+ import { Component , Directive , ElementRef , ViewChild } from '@angular/core' ;
77import { ComponentFixture , fakeAsync , flush , TestBed , tick , inject } from '@angular/core/testing' ;
88import { FormsModule , NgForm } from '@angular/forms' ;
99import { BidiModule , Direction } from '@angular/cdk/bidi' ;
@@ -359,12 +359,12 @@ class CdkTableInCell extends BaseTestComponent {
359359 }
360360}
361361
362- const testCases : ReadonlyArray < [ Type < BaseTestComponent > , string ] > = [
362+ const testCases = [
363363 [ VanillaTableOutOfCell , 'Vanilla HTML table; edit defined outside of cell' ] ,
364364 [ VanillaTableInCell , 'Vanilla HTML table; edit defined within cell' ] ,
365365 [ CdkFlexTableInCell , 'Flex cdk-table; edit defined within cell' ] ,
366366 [ CdkTableInCell , 'Table cdk-table; edit defined within cell' ] ,
367- ] ;
367+ ] as const ;
368368
369369describe ( 'CDK Popover Edit' , ( ) => {
370370 for ( const [ componentClass , label ] of testCases ) {
@@ -381,7 +381,7 @@ describe('CDK Popover Edit', () => {
381381 inject ( [ OverlayContainer ] , ( oc : OverlayContainer ) => {
382382 overlayContainer = oc ;
383383 } ) ( ) ;
384- fixture = TestBed . createComponent ( componentClass ) ;
384+ fixture = TestBed . createComponent < BaseTestComponent > ( componentClass ) ;
385385 component = fixture . componentInstance ;
386386 fixture . detectChanges ( ) ;
387387 tick ( 10 ) ;
0 commit comments