File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -7201,7 +7201,6 @@ namespace ts {
7201
7201
}
7202
7202
// We don't know how to serialize this (nested?) binding element
7203
7203
Debug.failBadSyntaxKind(node.parent?.parent || node, "Unhandled binding element grandparent kind in declaration serialization");
7204
- break;
7205
7204
case SyntaxKind.ShorthandPropertyAssignment:
7206
7205
if (node.parent?.parent?.kind === SyntaxKind.BinaryExpression) {
7207
7206
// module.exports = { SomeClass }
@@ -8138,7 +8137,6 @@ namespace ts {
8138
8137
case TypeSystemPropertyName.ResolvedBaseTypes:
8139
8138
return !!(target as InterfaceType).baseTypesResolved;
8140
8139
}
8141
- return Debug.assertNever(propertyName);
8142
8140
}
8143
8141
8144
8142
/**
@@ -30073,7 +30071,6 @@ namespace ts {
30073
30071
case SyntaxKind.JsxSelfClosingElement:
30074
30072
return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode);
30075
30073
}
30076
- throw Debug.assertNever(node, "Branch in 'resolveSignature' should be unreachable.");
30077
30074
}
30078
30075
30079
30076
/**
@@ -31662,7 +31659,6 @@ namespace ts {
31662
31659
}
31663
31660
return getUnaryResultType(operandType);
31664
31661
}
31665
- return errorType;
31666
31662
}
31667
31663
31668
31664
function checkPostfixUnaryExpression(node: PostfixUnaryExpression): Type {
You can’t perform that action at this time.
0 commit comments