Skip to content

Commit e61d812

Browse files
authored
Update the type reference cache with correct project options (microsoft#44004)
1 parent 42f0cf6 commit e61d812

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/tsbuildPublic.ts

+1
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ namespace ts {
849849
state.projectCompilerOptions = config.options;
850850
// Update module resolution cache if needed
851851
state.moduleResolutionCache?.update(config.options);
852+
state.typeReferenceDirectiveResolutionCache?.update(config.options);
852853

853854
// Create program
854855
program = host.createProgram(

0 commit comments

Comments
 (0)