/** * Expand/simplifies a type for display in Intellisense. */ export type Expand = T extends infer O ? {[K in keyof O]: O[K]} : never;