(rawSet: string)
| 80 | } |
| 81 | |
| 82 | export function parseSet<T>(rawSet: string) { |
| 83 | const parsed = JSON.parse(rawSet) as T[] |
| 84 | return new Set(parsed) |
| 85 | } |
| 86 | |
| 87 | // https://stackoverflow.com/questions/51599481/replacing-property-of-a-typescript-type#comment134810492_72983690 |
| 88 | export type Override< |