If you run tsc manually and use the param:
tsc --generateTrace traceDir
you can create a new traceDir directory with paired trace and types files. A recent analysis package from Microsoft typescript-analyze-trace can analyse those files.
Questions:
I wanted to configure generateTrace within tsconfig.json and couldn't find the equivalent property.
Is there a similar configuration option also in an angular app? I guess I can use the same property within angularCompilerOptions (if I knew what it is called)?