Menu
×
×
Correct!
Exercise:Declare an object kindPerson from the Person interface, where all the properties are optional:
interface Person {
age: number;
firstName: string;
lastName: string;
}
let @(10): @(15) = {};
interface Person {
age: number;
firstName: string;
lastName: string;
}
let kindPerson: Partial<Person> = {};
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 30 exercises.
Are you sure you want to continue?