SmooshedUnionObject
Public TypeAlias
Signature
type SmooshedUnionObject<T> = {
[K in T extends infer P ? keyof P : never]: T extends infer P
? K extends keyof P
? P[K]
: never
: never
}
Public TypeAlias
type SmooshedUnionObject<T> = {
[K in T extends infer P ? keyof P : never]: T extends infer P
? K extends keyof P
? P[K]
: never
: never
}