Runtime implementation for tableOptions.
The helper returns the same object it receives; all value comes from the overloads preserving table option inference at compile time.
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "columns"> & object;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "columns"> & object;Defined in: helpers/tableOptions.ts:11
Preserves table option inference when reusable options omit columns.
This is useful for composing shared options that will receive columns later from a framework adapter or table factory.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "columns"> & object
Omit<TableOptions<TFeatures, TData>, "_features" | "columns"> & object
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "data"> & object;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "data"> & object;Defined in: helpers/tableOptions.ts:25
Preserves table option inference when reusable options omit data.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "data"> & object
Omit<TableOptions<TFeatures, TData>, "_features" | "data"> & object
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "data" | "columns"> & object;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features" | "data" | "columns"> & object;Defined in: helpers/tableOptions.ts:40
Preserves table option inference when reusable options omit both data and columns.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "data" | "columns"> & object
Omit<TableOptions<TFeatures, TData>, "_features" | "data" | "columns"> & object
function tableOptions<TFeatures, TData>(options): TableOptions<TFeatures, TData>;function tableOptions<TFeatures, TData>(options): TableOptions<TFeatures, TData>;Defined in: helpers/tableOptions.ts:54
Preserves inference for a fully specified table options object.
TFeatures extends TableFeatures
TData extends RowData = any
TableOptions<TFeatures, TData>
TableOptions<TFeatures, TData>
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features">;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "_features">;Defined in: helpers/tableOptions.ts:62
Preserves inference when a wrapper supplies _features.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "_features">
Omit<TableOptions<TFeatures, TData>, "_features">
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "data" | "_features">;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "data" | "_features">;Defined in: helpers/tableOptions.ts:72
Preserves inference when a wrapper supplies both data and _features.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "data" | "_features">
Omit<TableOptions<TFeatures, TData>, "data" | "_features">
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "columns" | "_features">;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "columns" | "_features">;Defined in: helpers/tableOptions.ts:82
Preserves inference when a wrapper supplies both columns and _features.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "columns" | "_features">
Omit<TableOptions<TFeatures, TData>, "columns" | "_features">
function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "data" | "columns" | "_features">;function tableOptions<TFeatures, TData>(options): Omit<TableOptions<TFeatures, TData>, "data" | "columns" | "_features">;Defined in: helpers/tableOptions.ts:93
Preserves inference when a wrapper supplies data, columns, and _features.
TFeatures extends TableFeatures
TData extends RowData = any
Omit<TableOptions<TFeatures, TData>, "data" | "columns" | "_features">
Omit<TableOptions<TFeatures, TData>, "data" | "columns" | "_features">