// number
CqlType2TSType<'int', ...>
// DataAPIDuration
CqlType2TSType<'duration', ...>
// Map<string, number>
CqlType2TSType<'map', { keyType: 'text', valueType: 'int' }>
// unknown
CqlType2TSType<'idk', ...>
// TypeErr<'Invalid generics definition for \'map\'; should have keyType and valueType set as scalar CQL types (e.g. \'text\')'>
CqlType2TSType<'map', 123>
Converts a CQL type to its TS equivalent. If the type isn't some collection type, the second typeparam is irrelevant.