✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Тестування
Дано функцію:
function getId<T extends { id: string }>(e: T): string {
return e.id;
}
Який виклик створить помилку компіляції?