mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 05:55:11 -05:00
Remove unnecessary 'forEachEntry' call (#22653)
This commit is contained in:
@@ -20,7 +20,7 @@ namespace ts.NavigateTo {
|
||||
continue;
|
||||
}
|
||||
|
||||
forEachEntry(sourceFile.getNamedDeclarations(), (declarations, name) => {
|
||||
sourceFile.getNamedDeclarations().forEach((declarations, name) => {
|
||||
getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, sourceFile.fileName, rawItems);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user