Open shaKY-iota opened 2 years ago
// your answers type ReplaceKeys<U, T, Y> = { [P in keyof U]: P extends T ? P extends keyof Y ? Y[P] : never : U[P] };