mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Revert "Fix linting error in new function"
This reverts commit 8486c482371e800fcaa83c655f837f70d8ac02af.
This commit is contained in:
parent
281b58dde3
commit
5be9e429b4
@ -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";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user