#Get Keys
4 messages · Page 1 of 1 (latest)
const columns: ColumnsType[] = ... makes it have exactly that type, and the specific type information is erased.
If you do const columns = [...] as const satisfies ColumnsType[] instead, it will still check that it satisfies, without erasing the specific type information.
Thx!