@@ -708,7 +708,7 @@ namespace ts {
708
708
let noDiagnosticsTypeChecker : TypeChecker ;
709
709
let classifiableNames : UnderscoreEscapedMap < true > ;
710
710
const ambientModuleNameToUnmodifiedFileName = createMap < string > ( ) ;
711
- // Todo: : Use this to report why file was included in --extendedDiagnostics
711
+ // TODO : Use this to report why file was included in --extendedDiagnostics
712
712
let refFileMap : MultiMap < ts . RefFile > | undefined ;
713
713
714
714
const cachedBindAndCheckDiagnosticsForFile : DiagnosticCache < Diagnostic > = { } ;
@@ -2239,7 +2239,8 @@ namespace ts {
2239
2239
fileName : string ,
2240
2240
getSourceFile : ( fileName : string ) => SourceFile | undefined ,
2241
2241
fail ?: ( diagnostic : DiagnosticMessage , ...argument : string [ ] ) => void ,
2242
- refFile ?: SourceFile ) : SourceFile | undefined {
2242
+ refFile ?: SourceFile
2243
+ ) : SourceFile | undefined {
2243
2244
2244
2245
if ( hasExtension ( fileName ) ) {
2245
2246
const canonicalFileName = host . getCanonicalFileName ( fileName ) ;
@@ -2339,7 +2340,7 @@ namespace ts {
2339
2340
return redirect ;
2340
2341
}
2341
2342
2342
- // Get source file from normalized fileName
2343
+ /** Get source file from normalized fileName */
2343
2344
function findSourceFile ( fileName : string , path : Path , isDefaultLib : boolean , ignoreNoDefaultLib : boolean , refFile : RefFile | undefined , packageId : PackageId | undefined ) : SourceFile | undefined {
2344
2345
if ( useSourceOfProjectReferenceRedirect ) {
2345
2346
let source = getSourceOfProjectReferenceRedirect ( fileName ) ;
@@ -2543,7 +2544,6 @@ namespace ts {
2543
2544
return getResolvedProjectReferenceToRedirect ( fileName ) ;
2544
2545
}
2545
2546
2546
-
2547
2547
function getProjectReferenceOutputName ( referencedProject : ResolvedProjectReference , fileName : string ) {
2548
2548
const out = referencedProject . commandLine . options . outFile || referencedProject . commandLine . options . out ;
2549
2549
return out ?
0 commit comments