Revert "Fix linting error in new function"

This reverts commit 8486c482371e800fcaa83c655f837f70d8ac02af.
This commit is contained in:
Mohamed Hegazy 2017-10-12 17:25:01 -07:00
parent 281b58dde3
commit 5be9e429b4

View File

@ -23225,8 +23225,7 @@ 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";
}