Skip to content

Commit a61ec94

Browse files
Remove unnecessary check.
1 parent cd64f2b commit a61ec94

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/services/services.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3359,7 +3359,6 @@ namespace ts {
33593359

33603360
case SyntaxKind.DotDotDotToken:
33613361
return containingNodeKind === SyntaxKind.Parameter ||
3362-
containingNodeKind === SyntaxKind.Constructor ||
33633362
(previousToken.parent && previousToken.parent.parent &&
33643363
previousToken.parent.parent.kind === SyntaxKind.ArrayBindingPattern); // var [...z|
33653364

0 commit comments

Comments
 (0)