type Person = {
fullName: string;
country: string;
hobbies: string[];
};
const whoAmI: Person = {
fullName: 'Cristian Baciu',
country: getCountry(),
hobbies: ['Swimming', 'Running', 'Movies'],
};
function getCountry(): string {
return 'Moldova';
}
baciucristian / fullstackopen-course Goto Github PK
View Code? Open in Web Editor NEWMy coursework for Fullstack Developer Course
Home Page: https://fullstackopen.com/en/