You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If `Combine` cannot infer the result type, try `Simplify` because it uses `infer` before mapping over `T`, which sometimes helps TypeScript unravel deep types.
* @see {@link Combine | Combine}
* @example
* ```
* Simplify<{ a: 1 } & { b: 2 }> // { a: 1, b: 2 }
* ```
* ---
*/
export type Simplify<T> = T extends infer U ? { [K in keyof U]: U[K] } : never