Menu
×
×
正确
interface Person {
age: number;
firstName: string;
lastName?: string;
}
let @(10): @(16) = {
age: 1800,
firstName: "Santa",
lastName: "Claus"
};
interface Person {
age: number;
firstName: string;
lastName?: string;
}
let kindPerson: Required<Person> = {
age: 1800,
firstName: "Santa",
lastName: "Claus"
};
不正确
点击 此处 重试 正确
下一题 ❯interface Person { age: number; firstName: string; lastName?: string; } letw3exercise_input_no_0:w3exercise_input_no_1= { age: 1800, firstName: "Santa", lastName: "Claus" }; |