How to type a function with column key of table
I can't get this to type correctly. I want
field to be a column of table, but typescript keeps saying Type 'Field' cannot be used to index type 'TTable'. What's the best way to do this?