@@ -17,7 +17,7 @@ namespace ts.FindAllReferences {
17
17
return ( exportSymbol , exportInfo , isForRename ) => {
18
18
const { directImports, indirectUsers } = getImportersForExport ( sourceFiles , allDirectImports , exportInfo , checker ) ;
19
19
return { indirectUsers, ...getSearchesFromDirectImports ( directImports , exportSymbol , exportInfo . exportKind , checker , isForRename ) } ;
20
- }
20
+ } ;
21
21
}
22
22
23
23
/** Info about an exported symbol to perform recursive search on. */
@@ -86,7 +86,7 @@ namespace ts.FindAllReferences {
86
86
case SyntaxKind . ImportDeclaration :
87
87
const namedBindings = direct . importClause && direct . importClause . namedBindings ;
88
88
if ( namedBindings && namedBindings . kind === SyntaxKind . NamespaceImport ) {
89
- handleNamespaceImport ( direct , namedBindings . name )
89
+ handleNamespaceImport ( direct , namedBindings . name ) ;
90
90
}
91
91
else {
92
92
directImports . push ( direct ) ;
@@ -418,7 +418,7 @@ namespace ts.FindAllReferences {
418
418
// Get the symbol for the `export =` node; its parent is the module it's the export of.
419
419
const exportingModuleSymbol = parent . symbol . parent ;
420
420
Debug . assert ( ! ! exportingModuleSymbol ) ;
421
- return { kind : ImportExport . Export , symbol, exportInfo : { exportingModuleSymbol, exportKind : ExportKind . ExportEquals } }
421
+ return { kind : ImportExport . Export , symbol, exportInfo : { exportingModuleSymbol, exportKind : ExportKind . ExportEquals } } ;
422
422
}
423
423
}
424
424
}
@@ -445,7 +445,7 @@ namespace ts.FindAllReferences {
445
445
446
446
function exportInfo ( symbol : Symbol , kind : ExportKind ) : ExportedSymbol {
447
447
const exportInfo = getExportInfo ( symbol , kind , checker ) ;
448
- return exportInfo && { kind : ImportExport . Export , symbol, exportInfo }
448
+ return exportInfo && { kind : ImportExport . Export , symbol, exportInfo } ;
449
449
}
450
450
451
451
// Not meant for use with export specifiers or export assignment.
@@ -524,6 +524,6 @@ namespace ts.FindAllReferences {
524
524
}
525
525
526
526
function isExternalModuleImportEquals ( { moduleReference } : ImportEqualsDeclaration ) : boolean {
527
- return moduleReference . kind === SyntaxKind . ExternalModuleReference && moduleReference . expression . kind === SyntaxKind . StringLiteral
527
+ return moduleReference . kind === SyntaxKind . ExternalModuleReference && moduleReference . expression . kind === SyntaxKind . StringLiteral ;
528
528
}
529
529
}
0 commit comments