We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66ad03 commit a92b549Copy full SHA for a92b549
src/compiler/program.ts
@@ -804,7 +804,7 @@ namespace ts {
804
}
805
if ((oldSourceFile.flags & NodeFlags.PossiblyContainsDynamicImport) !== (newSourceFile.flags & NodeFlags.PossiblyContainsDynamicImport)) {
806
// dynamicImport has changed
807
- oldProgram.structureIsReused = StructureIsReused.Not;
+ oldProgram.structureIsReused = StructureIsReused.SafeModules;
808
809
810
if (!arrayIsEqualTo(oldSourceFile.typeReferenceDirectives, newSourceFile.typeReferenceDirectives, fileReferenceIsEqualTo)) {
0 commit comments