JustTheSyme
DTDrizzle Team
•Created by JustTheSyme on 1/5/2024 in #help
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?
6 replies