Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix format
  • Loading branch information
AlexMarkUSDS committed Jan 21, 2024
commit 00cc8ff10efe072fef96b320fcfbf2bfac8e7242
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42920,7 +42920,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {

function helper(condExpr: Expression, body: Expression | Statement | undefined) {
const location = isLogicalOrCoalescingBinaryExpression(condExpr) ? skipParentheses(condExpr.right)
: isPrefixUnaryExpression(condExpr) ? condExpr.operand
: isPrefixUnaryExpression(condExpr) ? condExpr.operand
: condExpr;
if (isModuleExportsAccessExpression(location)) {
return;
Expand Down