Closed erumQaimkhani closed 1 month ago
/ //type ilyas type studentObj = { name: string, age: number, expertDeveloper: boolean, expertqualities: { hairColor: string, height: number, nose: string, hairLength: number, };
let studentObj: studentObj = {
name: "Ali Aftab",
age: 15,
expertDeveloper: true,
expertqualities: {
hairColor: "Black",
height: 5.11,
nose: "Big",
hairLength: 5
}
}
}} console.log(studentObj.expertqualities.nose)
Error Text
Property or signature expected.
Supporting Information
Please provide other information which led to this error, and any specific questions you have about it: