mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
This commit is contained in:
@@ -958,6 +958,9 @@ namespace ts.server {
|
||||
);
|
||||
const elapsed = timestamp() - start;
|
||||
this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} Version: ${this.getProjectVersion()} structureChanged: ${hasNewProgram} Elapsed: ${elapsed}ms`);
|
||||
if (this.program !== oldProgram) {
|
||||
this.print();
|
||||
}
|
||||
return hasNewProgram;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user