mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix linting error in new function
This commit is contained in:
1 parent
79f5d968a1
commit
8486c48237
1 file changed
+2
-1
@@ -23156,7 +23156,8 @@ namespace ts {
|
||||
return findAncestor(node, element => {
|
||||
if (isConstructorDeclaration(element) && nodeIsPresent(element.body)) {
|
||||
return true;
|
||||
} else if (element === classDeclaration || isFunctionLikeDeclaration(element)) {
|
||||
}
|
||||
else if (element === classDeclaration || isFunctionLikeDeclaration(element)) {
|
||||
return "quit";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user