Skip to content

Commit 8079ec2

Browse files
committed
remove in-progress comment
1 parent f419bb2 commit 8079ec2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/compiler/checker.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13275,10 +13275,6 @@ namespace ts {
1327513275
}
1327613276

1327713277
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
1328213278
return !(symbol.flags & SymbolFlags.Function)
1328313279
|| !isCallExpression(findAncestor(node, n => !isAccessExpression(n)) ?? node.parent)
1328413280
&& every(symbol.declarations, d => !isFunctionLike(d) || !!(d.flags & NodeFlags.Deprecated));

0 commit comments

Comments
 (0)