I'm working with a TypeScript compiler to perform some code generation. This is my first time working with the compiler API directly. With some ugly narrowing b
I try to resolve foo and bar from nodes variable. After I checked at ts-ast-viewer you can see in the picture that typescript can know about foo and bar from no
I try to get the path information as follows: const typeChecker = program.getTypeChecker(); const importFileSymbol = typeChecker.getSymbolAtLocation(
I try to get the path information as follows: const typeChecker = program.getTypeChecker(); const importFileSymbol = typeChecker.getSymbolAtLocation(