面试题答案一键面试type MyPartialByKeys<T, K extends keyof T> = { [P in keyof T]: P extends K? T[P] | undefined : T[P]; };