mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 05:17:43 -05:00
Fix linting error in new function
This commit is contained in:
@@ -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