File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -24259,7 +24259,7 @@ namespace ts {
24259
24259
const elementTypes = arity ? type.typeArguments!.slice() : [];
24260
24260
for (let i = arity; i < patternElements.length; i++) {
24261
24261
const e = patternElements[i];
24262
- if (i < patternElements.length - 1 || !(e.kind === SyntaxKind.BindingElement && (<BindingElement>e) .dotDotDotToken)) {
24262
+ if (i < patternElements.length - 1 || !(e.kind === SyntaxKind.BindingElement && e .dotDotDotToken)) {
24263
24263
elementTypes.push(!isOmittedExpression(e) && hasDefaultValue(e) ? getTypeFromBindingElement(e, /*includePatternInType*/ false, /*reportErrors*/ false) : anyType);
24264
24264
if (!isOmittedExpression(e) && !hasDefaultValue(e)) {
24265
24265
reportImplicitAny(e, anyType);
You can’t perform that action at this time.
0 commit comments