I have this function function something<T extends string>(): void { // ... } I would like to restrict T to be a SINGLE string, and not a union of strin
I need to save this Objects into a SQL/Drift DB, how can/should I design die Tables/Rows for an efficient mapping? Here is are examples of a (deep)nested union
I would like to create a union type in TypeScript that can use an array as a discriminant, but have a specific type match if any element of the array meets some