mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 03:20:56 -06:00
Fix incorrect spelling of packageId (#51483)
This commit is contained in:
parent
c5aea89230
commit
9ede7ce006
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user