We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7aa566 commit e3a1cb1Copy full SHA for e3a1cb1
src/compiler/checker.ts
@@ -27046,7 +27046,7 @@ namespace ts {
27046
}
27047
27048
function isValidDeclarationForTupleLabel(d: Declaration): d is NamedTupleMember | (ParameterDeclaration & { name: Identifier }) {
27049
- return d.kind === SyntaxKind.NamedTupleMember || (isParameter(d) && isIdentifier(d.name));
+ return d.kind === SyntaxKind.NamedTupleMember || (isParameter(d) && d.name && isIdentifier(d.name));
27050
27051
27052
function getNameableDeclarationAtPosition(signature: Signature, pos: number) {
0 commit comments