File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -2080,22 +2080,6 @@ namespace ts {
2080
2080
case SyntaxKind . EnumMember :
2081
2081
return bindPropertyOrMethodOrAccessor ( < Declaration > node , SymbolFlags . EnumMember , SymbolFlags . EnumMemberExcludes ) ;
2082
2082
2083
- case SyntaxKind . SpreadAssignment :
2084
- case SyntaxKind . JsxSpreadAttribute :
2085
- let root = container ;
2086
- let hasRest = false ;
2087
- while ( root . parent ) {
2088
- if ( root . kind === SyntaxKind . ObjectLiteralExpression &&
2089
- root . parent . kind === SyntaxKind . BinaryExpression &&
2090
- ( root . parent as BinaryExpression ) . operatorToken . kind === SyntaxKind . EqualsToken &&
2091
- ( root . parent as BinaryExpression ) . left === root ) {
2092
- hasRest = true ;
2093
- break ;
2094
- }
2095
- root = root . parent ;
2096
- }
2097
- return ;
2098
-
2099
2083
case SyntaxKind . CallSignature :
2100
2084
case SyntaxKind . ConstructSignature :
2101
2085
case SyntaxKind . IndexSignature :
@@ -3613,4 +3597,4 @@ namespace ts {
3613
3597
child . parent = parent ;
3614
3598
forEachChild ( child , ( childsChild ) => setParentPointers ( child , childsChild ) ) ;
3615
3599
}
3616
- }
3600
+ }
You can’t perform that action at this time.
0 commit comments