diff --git a/src/compiler/resolutionCache.ts b/src/compiler/resolutionCache.ts index 77a1f146938..ab3d8a880ec 100644 --- a/src/compiler/resolutionCache.ts +++ b/src/compiler/resolutionCache.ts @@ -77,7 +77,7 @@ export interface ResolutionWithFailedLookupLocations { interface ResolutionWithResolvedFileName { resolvedFileName: string | undefined; - packagetId?: PackageId; + packageId?: PackageId; } /** @internal */ @@ -516,12 +516,12 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD host, loader === resolveModuleName as unknown ? resolved?.resolvedFileName ? - resolved.packagetId ? + resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4 : Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved : resolved?.resolvedFileName ? - resolved.packagetId ? + resolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved, @@ -529,7 +529,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD containingFile, getDirectoryPath(containingFile), resolved?.resolvedFileName, - resolved?.packagetId && packageIdToString(resolved.packagetId) + resolved?.packageId && packageIdToString(resolved.packageId) ); } } @@ -560,19 +560,19 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD host, loader === resolveModuleName as unknown ? resolved?.resolvedFileName ? - resolved.packagetId ? + resolved.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved : resolved?.resolvedFileName ? - resolved.packagetId ? + resolved.packageId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved, name, containingFile, resolved?.resolvedFileName, - resolved?.packagetId && packageIdToString(resolved.packagetId) + resolved?.packageId && packageIdToString(resolved.packageId) ); } }