Understanding TypeScript Type Inference with Column Formatters
The Problem
Imagine you're building a data table component. You have data that looks like this:
type User = {
age: number;
name: string;
isActive: boolean;
}
For each column, you want to create a formatter function that handles the data for th...
tigerabrodi.blog3 min read