This should have similar behavior to 'processSourceFile' without diagnostics or mutation.
(referencingFile, ref)
| 118095 | } |
| 118096 | /** This should have similar behavior to 'processSourceFile' without diagnostics or mutation. */ |
| 118097 | function getSourceFileFromReference(referencingFile, ref) { |
| 118098 | return getSourceFileFromReferenceWorker(resolveTripleslashReference(ref.fileName, referencingFile.fileName), getSourceFile); |
| 118099 | } |
| 118100 | function getSourceFileFromReferenceWorker(fileName, getSourceFile, fail, reason) { |
| 118101 | if (ts.hasExtension(fileName)) { |
| 118102 | var canonicalFileName_1 = host.getCanonicalFileName(fileName); |
nothing calls this directly
no test coverage detected
searching dependent graphs…