File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -13275,10 +13275,6 @@ namespace ts {
13275
13275
}
13276
13276
13277
13277
function isUncalledFunctionReference(node: Node, symbol: Symbol) {
13278
- // (!(localOrExportSymbol.flags & SymbolFlags.Function)
13279
- // || !isCallExpression(findAncestor(node.parent, n => !isPropertyAccessExpression(n)) ?? node.parent)
13280
- // && localOrExportSymbol.declarations.every(d => !isFunctionLike(d) || d.flags & NodeFlags.Deprecated))
13281
- // TODO: Needs to use isELement or isProperty, variously
13282
13278
return !(symbol.flags & SymbolFlags.Function)
13283
13279
|| !isCallExpression(findAncestor(node, n => !isAccessExpression(n)) ?? node.parent)
13284
13280
&& every(symbol.declarations, d => !isFunctionLike(d) || !!(d.flags & NodeFlags.Deprecated));
You can’t perform that action at this time.
0 commit comments