Skip to content

Commit 8ef0632

Browse files
committed
fix(cdk/table): revert breaking change of CdkTable constructor
With Release 13.1.2 a breaking change was introduced in cdk/table. If a consumer has a class which extends CdkTable, compilation breaks due to the newly introduced required constructor parameter _ngZone. See PR: #23885
1 parent 52155ac commit 8ef0632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/table/table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ export class CdkTable<T> implements AfterContentChecked, CollectionViewer, OnDes
531531
* @breaking-change 14.0.0
532532
*/
533533
@Optional()
534-
protected readonly _ngZone: NgZone,
534+
protected readonly _ngZone?: NgZone,
535535
) {
536536
if (!role) {
537537
this._elementRef.nativeElement.setAttribute('role', 'table');

0 commit comments

Comments
 (0)