面试题答案一键面试interface User { name: string; age: number; } type UserReadOnly = { readonly [P in keyof User]: User[P]; };