File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments