How can I get the inferred type using TypeScripts compiler API?

后端 未结 0 1804
鱼传尺愫
鱼传尺愫 2020-12-25 07:46

I\'m writing a TS language server plugin and need to get the inferred type for an object literal:

const x: TypeA = {};
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题