How to get property info by using the Typescript language service
问题 How to get the type of a property of an object with Typescript 1.4.0. I'm searching for something similar to C# it has the possibility to look up the properties of an object. var properties = typeof(T).GetProperties(); foreach( var property in properties){} What I have so far is: var ls = ts.createLanguageService(host, ts.createDocumentRegistry()) var nav = ls.getNavigationBarItems(host.fileName); Given the example Interface: interface Example { firstname: string; lastname: string; age: