We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea613fd commit 04456a2Copy full SHA for 04456a2
src/services/services.ts
@@ -1314,12 +1314,13 @@ module ts {
1314
1315
function isAnyFunction(node: Node): boolean {
1316
switch (node.kind) {
1317
+ case SyntaxKind.FunctionExpression:
1318
case SyntaxKind.FunctionDeclaration:
1319
+ case SyntaxKind.ArrowFunction:
1320
case SyntaxKind.Method:
- case SyntaxKind.FunctionExpression:
1321
case SyntaxKind.GetAccessor:
1322
case SyntaxKind.SetAccessor:
- case SyntaxKind.ArrowFunction:
1323
+ case SyntaxKind.Constructor:
1324
return true;
1325
}
1326
return false;
0 commit comments