mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
Update the type reference cache with correct project options (#44004)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user