Files
calendar/packages/types/tanstack-table.d.ts
T
Alex van AndelandGitHub 07accf700e refactor: Enabling typescript 5.3.3 in @calcom/trpc (#19394)
* Refactors related to enabling typescript 5.3.3 in @calcom/trpc

* Also skip respective tests (obviously logic is broken)

* This causes problems for some reason, revert

* Bring back QueryCell as it's used by atoms
2025-02-21 13:22:31 +00:00

15 lines
481 B
TypeScript

import "@tanstack/react-table";
import type { ColumnFilterMeta } from "@calcom/features/data-table/lib/types";
declare module "@tanstack/table-core" {
interface ColumnMeta<TData extends RowData, TValue> {
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;
}
}