Skip to content

Commit

Permalink
Update the type reference cache with correct project options (#44004)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalkamat committed May 7, 2021
1 parent 42f0cf6 commit e61d812
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/tsbuildPublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ namespace ts {
state.projectCompilerOptions = config.options;
// Update module resolution cache if needed
state.moduleResolutionCache?.update(config.options);
state.typeReferenceDirectiveResolutionCache?.update(config.options);

// Create program
program = host.createProgram(
Expand Down

0 comments on commit e61d812

Please sign in to comment.