Revert "Fix linting error in new function"

This reverts commit 8486c48237.
This commit is contained in:
Mohamed Hegazy
2017-10-12 17:25:01 -07:00
parent 281b58dde3
commit 5be9e429b4
+1 -2
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";
}