✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Given the TypeScript interface below, which of the following object literals is a correctly typed Student object?
interface Student {
id: number;
name: string;
major?: string;
}