Tracing module resolution
As discussed earlier, the compiler can visit files outside the current folder when resolving a module. This can be hard when diagnosing why a module is not resolved, or is resolved to an incorrect definition. Enabling the compiler module resolution tracing using --traceResolution provides insight in what happened during the module resolution process.
Let’s say we have a sample application that uses the typescript module. app.ts has an import like import * as ts from "t