interface Person { name?: string, age?: number, hobby?: string[]}const user: Required<Person> = { name: "树哥", age: 18, hobby: ["code"]}