mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
This commit is contained in:
1 parent
5869662c3f
commit
7ccd86bf52
3 files changed
+88
-1
No files matched your search
@@ -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