We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8176354 commit 5aa7086Copy full SHA for 5aa7086
src/compiler/checker.ts
@@ -396,7 +396,7 @@ namespace ts {
396
}
397
398
let sourceFiles = host.getSourceFiles();
399
- return sourceFiles.indexOf(file1) <= sourceFiles.indexOf(file2);
+ return indexOf(sourceFiles, file1) <= indexOf(sourceFiles, file2);
400
401
402
// Resolve a given name for a given meaning at a given location. An error is reported if the name was not found and
0 commit comments