Skip to content

Commit c7b4609

Browse files
committed
refactor(cdk-experimental/table-scroll-container): fix strict property initialization errors
Updates the code to be compatible with strict property initialization.
1 parent c2449f7 commit c7b4609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk-experimental/table-scroll-container/table-scroll-container.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class StickyNativeLayoutCdkTableApp {
299299
dataSource: FakeDataSource = new FakeDataSource();
300300
columns = ['column-1', 'column-2', 'column-3', 'column-4', 'column-5', 'column-6'];
301301

302-
@ViewChild(CdkTable) table: CdkTable<TestData>;
302+
@ViewChild(CdkTable) table!: CdkTable<TestData>;
303303

304304
stickyHeaders: string[] = [];
305305
stickyFooters: string[] = [];

0 commit comments

Comments
 (0)