@@ -201,7 +201,7 @@ namespace ts {
201
201
let resolvedTypeReferenceDirective : ResolvedTypeReferenceDirective | undefined ;
202
202
if ( resolved ) {
203
203
if ( ! options . preserveSymlinks ) {
204
- resolved = realpath ( resolved , host , traceEnabled ) ;
204
+ resolved = realPath ( resolved , host , traceEnabled ) ;
205
205
}
206
206
207
207
if ( traceEnabled ) {
@@ -741,7 +741,7 @@ namespace ts {
741
741
742
742
let resolvedValue = resolved . value ;
743
743
if ( ! compilerOptions . preserveSymlinks ) {
744
- resolvedValue = resolvedValue && { ...resolved . value , path : realpath ( resolved . value . path , host , traceEnabled ) , extension : resolved . value . extension } ;
744
+ resolvedValue = resolvedValue && { ...resolved . value , path : realPath ( resolved . value . path , host , traceEnabled ) , extension : resolved . value . extension } ;
745
745
}
746
746
// For node_modules lookups, get the real path so that multiple accesses to an `npm link`-ed module do not create duplicate files.
747
747
return { value : resolvedValue && { resolved : resolvedValue , isExternalLibraryImport : true } } ;
@@ -754,7 +754,7 @@ namespace ts {
754
754
}
755
755
}
756
756
757
- function realpath ( path : string , host : ModuleResolutionHost , traceEnabled : boolean ) : string {
757
+ function realPath ( path : string , host : ModuleResolutionHost , traceEnabled : boolean ) : string {
758
758
if ( ! host . realpath ) {
759
759
return path ;
760
760
}
0 commit comments