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 6d33083 commit 15ef20dCopy full SHA for 15ef20d
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