mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update the type reference cache with correct project options (#44004)
This commit is contained in:
1 parent
42f0cf6ffc
commit
e61d812cbb
1 file changed
+1
@@ -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