Handle package.json watch in tsc and tsserver. (#49328)

* refactoring

* Maintain packagejson paths per resolution so we dont have invalidate everything on package json change

* Fix todo
This commit is contained in:
Sheetal Nandi
2022-06-08 10:22:29 -07:00
committed by GitHub
parent b8f6488323
commit 5cedf3e680
85 changed files with 1974 additions and 550 deletions
+4 -2
View File
@@ -6743,6 +6743,8 @@ namespace ts {
/* @internal */
readonly failedLookupLocations: string[];
/* @internal */
readonly affectingLocations: string[];
/* @internal */
readonly resolutionDiagnostics: Diagnostic[]
}
@@ -6765,8 +6767,8 @@ namespace ts {
export interface ResolvedTypeReferenceDirectiveWithFailedLookupLocations {
readonly resolvedTypeReferenceDirective: ResolvedTypeReferenceDirective | undefined;
readonly failedLookupLocations: string[];
/* @internal */
resolutionDiagnostics: Diagnostic[]
/*@internal*/ readonly affectingLocations: string[];
/* @internal */ resolutionDiagnostics: Diagnostic[];
}
/* @internal */