mattpocock / ts-error-translator

VSCode extension to turn TypeScript errors into plain English
https://ts-error-translator.vercel.app
2.35k stars 90 forks source link

Translation request for 1131 #303

Closed erumQaimkhani closed 1 month ago

erumQaimkhani commented 1 month ago

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:

erumQaimkhani commented 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)