FlatDatatype
Resolve<UnionToIntersection<T[keyof T]>>
| Type | |
|---|---|
Resolve | Helper type to resolve and normalise an object. |
UnionToIntersection | Helper type to turn a union type into an intersection type. |
Helper type to flatten one level of nested data into a single flat Data type.
i.e. FlattenData<{ A: { a: number }, B: { b: string } }> produces { a: number, b: string }