dingxyang opened this issue 2 years ago · 0 comments
type MyOmit<T, K extends keyof T> = { [ P in keyof T as P extends K ? never : P] : T[P] }