TypeScript Compiler API: Recursively resolve type
I am struggling to recursively resolve types with the TypeScript compiler API. Say I have for example an application containing the following type:
and I load it into a program and get the source file. How do I recursively resolve the type of MyAwesomeInput (I presume
s.statements[2].type
) to the TS type please? I notice VS Code does this, so I presume it is possible.0 Replies