reflection - How do I get an access to type information in TypeScript from another (development-time) program? -


i list of function's arguments' types in typescript. got obvious glance on google search results, typescript lacks java-kind reflection. i've thought there kind of compiler api such data ide development needs etc., i've found none.

so how access type information in typescript program (build tool, lint etc.)?

i've thought there kind of compiler api such data ide development needs etc., i've found none.

its called "typescript language service". there docs : https://github.com/microsoft/typescript/wiki/using-the-language-service-api

also have oss project uses : https://atom.io/packages/atom-typescript has stuff ast viewer , quickfix architecture : https://github.com/typestrong/atom-typescript/blob/master/contributing.md#quickfix

also have book compiler docs http://basarat.gitbooks.io/typescript/content/docs/compiler/overview.html


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -