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