mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Fixed sourceFiles type error
This commit is contained in:
parent
b03fbaf313
commit
1ab67c0f22
@ -1543,7 +1543,7 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
else {
|
||||
sourceFiles = program.getSourceFiles();
|
||||
sourceFiles = program.getSourceFiles().slice();
|
||||
}
|
||||
|
||||
return FindAllReferences.findReferencedEntries(program, cancellationToken, sourceFiles, getValidSourceFile(fileName), position, options);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user