type-challenges
type-challenges copied to clipboard
3 - Omit
// your answers
type MyOmit<T, K> = {
[P in keyof T as P extends K ? never : P]: T[P]
}