✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
interface Person { name: string; surname: string;} function logPerson(p: Person) { console.log(`${p.name}, ${p.surname}`);} const person = { name: "Paul", surname: "Mass" };logPerson(person);