File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1462,16 +1462,16 @@ namespace ts {
1462
1462
: node ;
1463
1463
}
1464
1464
1465
- export function createJsxExpression ( expression : Expression , dotDotDotToken : DotDotDotToken ) {
1465
+ export function createJsxExpression ( dotDotDotToken : DotDotDotToken | undefined , expression : Expression | undefined ) {
1466
1466
const node = < JsxExpression > createSynthesizedNode ( SyntaxKind . JsxExpression ) ;
1467
1467
node . dotDotDotToken = dotDotDotToken ;
1468
1468
node . expression = expression ;
1469
1469
return node ;
1470
1470
}
1471
1471
1472
- export function updateJsxExpression ( node : JsxExpression , expression : Expression ) {
1472
+ export function updateJsxExpression ( node : JsxExpression , expression : Expression | undefined ) {
1473
1473
return node . expression !== expression
1474
- ? updateNode ( createJsxExpression ( expression , node . dotDotDotToken ) , node )
1474
+ ? updateNode ( createJsxExpression ( node . dotDotDotToken , expression ) , node )
1475
1475
: node ;
1476
1476
}
1477
1477
You can’t perform that action at this time.
0 commit comments