portainer/app/react-table-config.d.ts

15 lines
369 B
TypeScript

import '@tanstack/react-table';
declare module '@tanstack/table-core' {
interface ColumnMeta<TData extends RowData, TValue> {
className?: string;
filter?: Filter<TData, TValue>;
width?: number | 'auto' | string;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface TableMeta<TData extends RowData> {
table?: string;
}
}