diff --git a/src/cdk/table/table.ts b/src/cdk/table/table.ts index e6f00badf3f..a5ae5ac4982 100644 --- a/src/cdk/table/table.ts +++ b/src/cdk/table/table.ts @@ -330,12 +330,12 @@ export class CdkTable implements CollectionViewer, OnInit, AfterContentChecke this._customColumnDefs.delete(columnDef); } - /** Adds a column definition that was not included as part of the direct content children. */ + /** Adds a row definition that was not included as part of the direct content children. */ addRowDef(rowDef: CdkRowDef) { this._customRowDefs.add(rowDef); } - /** Removes a column definition that was not included as part of the direct content children. */ + /** Removes a row definition that was not included as part of the direct content children. */ removeRowDef(rowDef: CdkRowDef) { this._customRowDefs.delete(rowDef); }