Skip to content

Commit e59e213

Browse files
committed
Remove unnecessary comment
1 parent 481f9c8 commit e59e213

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/services/findAllReferences.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,15 +1921,7 @@ export namespace Core {
19211921
// 'FindReferences' will just filter out these results.
19221922
state.addStringOrCommentReference(sourceFile.fileName, createTextSpan(position, search.text.length));
19231923
}
1924-
// if ( search.node &&!state.checker.getSymbolAtLocation(referenceLocation) && !state.options.implementations && isStringLiteralLike(search.node) && isStringLiteralLike(referenceLocation) )
1925-
// {
1926-
// const type = getContextualTypeFromParentOrAncestorTypeNode(search.node, state.checker)
1927-
// const refType = getContextualTypeFromParentOrAncestorTypeNode(referenceLocation, state.checker)
1928-
// if (type !== state.checker.getStringType() && type === refType)
1929-
// {
1930-
// addReference(referenceLocation, referenceLocation.symbol, state);
1931-
// }
1932-
// }
1924+
19331925
return;
19341926
}
19351927

0 commit comments

Comments
 (0)