Hey, how can i set the type from sourceKey field to the type of cell parameter?
So that if sourceKey is type of number then the cell parameter of renderCell function is 100% a number.
export interface ColumnDef<TDataType> {
id?: string;
sourceKey: keyof TDataType;
header: string | (() => string);
sortable?: boolean;
renderCell?: (cell: Cell<TDataType>) => any;
}
