mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
This commit is contained in:
1 parent
a4a1a51db6
commit
bac22846c9
1 file changed
+4
-1
@@ -10449,7 +10449,10 @@ namespace ts {
|
||||
case SyntaxKind.FunctionExpression:
|
||||
case SyntaxKind.FunctionDeclaration:
|
||||
case SyntaxKind.ArrowFunction:
|
||||
case SyntaxKind.ObjectLiteralExpression: return false;
|
||||
case SyntaxKind.ClassExpression:
|
||||
case SyntaxKind.ClassDeclaration:
|
||||
case SyntaxKind.GetAccessor:
|
||||
case SyntaxKind.SetAccessor: return false;
|
||||
default: return forEachChild(n, containsSuperCall);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user