You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to correctly implement CompilerHost.resolveModuleNames (and resolveTypeReferenceDirectives) we need to create a new instance of ProjectHost for each Program (or at least ProjectHost needs to know the CompilerOptions of the currently created/updated Program).
The cache needs to be reset if the CompilerOptions change (or for the next Program).
The linter cache #370 might benefit from this change as it needs to resolve everything as well.
The text was updated successfully, but these errors were encountered:
Similar to microsoft/TypeScript#31100
In order to correctly implement
CompilerHost.resolveModuleNames
(andresolveTypeReferenceDirectives
) we need to create a new instance of ProjectHost for each Program (or at least ProjectHost needs to know the CompilerOptions of the currently created/updated Program).The cache needs to be reset if the CompilerOptions change (or for the next Program).
The linter cache #370 might benefit from this change as it needs to resolve everything as well.
The text was updated successfully, but these errors were encountered: