diff --git a/packages/table-core/src/core/columns/Columns.utils.ts b/packages/table-core/src/core/columns/Columns.utils.ts index 9f3e06b986..6caaed54f3 100644 --- a/packages/table-core/src/core/columns/Columns.utils.ts +++ b/packages/table-core/src/core/columns/Columns.utils.ts @@ -143,4 +143,3 @@ export function table_getColumn< return column } - diff --git a/packages/table-core/src/core/rows/Rows.utils.ts b/packages/table-core/src/core/rows/Rows.utils.ts index d21ec5e245..f14100bc76 100644 --- a/packages/table-core/src/core/rows/Rows.utils.ts +++ b/packages/table-core/src/core/rows/Rows.utils.ts @@ -9,10 +9,7 @@ import type { Cell } from '../../types/Cell' export function row_getValue< TFeatures extends TableFeatures, TData extends RowData, ->( - row: Row, - columnId: string, -) { +>(row: Row, columnId: string) { if (row._valuesCache.hasOwnProperty(columnId)) { return row._valuesCache[columnId] } @@ -31,10 +28,7 @@ export function row_getValue< export function row_getUniqueValues< TFeatures extends TableFeatures, TData extends RowData, ->( - row: Row, - columnId: string, -) { +>(row: Row, columnId: string) { if (row._uniqueValuesCache.hasOwnProperty(columnId)) { return row._uniqueValuesCache[columnId] } @@ -61,10 +55,7 @@ export function row_getUniqueValues< export function row_renderValue< TFeatures extends TableFeatures, TData extends RowData, ->( - row: Row, - columnId: string, -) { +>(row: Row, columnId: string) { return row.getValue(columnId) ?? row.table.options.renderFallbackValue } @@ -101,9 +92,7 @@ export function row_getParentRows< export function row_getAllCells< TFeatures extends TableFeatures, TData extends RowData, ->( - row: Row, -): Array> { +>(row: Row): Array> { return row.table.getAllLeafColumns().map((column) => { return constructCell(column, row, row.table) })