Skip to content
Permalink
Browse files
Gabritto/jsemitfixsilly (#50849)
* delete unused test and refactor unneeded ternary

* add parens
  • Loading branch information
gabritto committed Sep 19, 2022
1 parent 3014dec commit 67f2b62ed2bd1de0299781ba659fa638346bcecf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 186 deletions.
@@ -2463,11 +2463,10 @@ namespace ts {
}

function shouldEmitAliasDeclaration(node: Node): boolean {
return isInJSFile(node)
? true
: compilerOptions.preserveValueImports
return isInJSFile(node) ||
(compilerOptions.preserveValueImports
? resolver.isValueAliasDeclaration(node)
: resolver.isReferencedAliasDeclaration(node);
: resolver.isReferencedAliasDeclaration(node));
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 67f2b62

Please sign in to comment.