* chore: Fix circular dependency in tanstack-table.d.ts * fix: Re-export TextFilterOperator * Unable to export non-type values from @calcom/types * Refactor data-table types in a way that ensures type-safety as before * Add FilterPopover and further fixups * Fix further type errors missed earlier * More hidden type errors * Type error in useFilterValue
15 lines
425 B
TypeScript
15 lines
425 B
TypeScript
import "@tanstack/react-table";
|
|
|
|
import type { ColumnFilterMeta } from "./data-table";
|
|
|
|
declare module "@tanstack/table-core" {
|
|
interface ColumnMeta {
|
|
filter?: ColumnFilterMeta;
|
|
|
|
// `autoWidth` can make the column size dynamic,
|
|
// allowing each row to have a different width based on its content.
|
|
// As a result, scrolling may be flaky, unless the content size is consistent.
|
|
autoWidth?: boolean;
|
|
}
|
|
}
|