File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1504,6 +1504,7 @@ namespace ts {
1504
1504
export type JsxTagNameExpression = PrimaryExpression | PropertyAccessExpression ;
1505
1505
1506
1506
export interface JsxAttributes extends ObjectLiteralExpressionBase < JsxAttributeLike > {
1507
+ parent ?: JsxOpeningLikeElement ;
1507
1508
}
1508
1509
1509
1510
/// The opening element of a <Tag>...</Tag> JsxElement
@@ -1523,15 +1524,15 @@ namespace ts {
1523
1524
1524
1525
export interface JsxAttribute extends ObjectLiteralElement {
1525
1526
kind : SyntaxKind . JsxAttribute ;
1526
- parent ?: JsxOpeningLikeElement ;
1527
+ parent ?: JsxAttributes ;
1527
1528
name : Identifier ;
1528
1529
/// JSX attribute initializers are optional; <X y /> is sugar for <X y={true} />
1529
1530
initializer ?: StringLiteral | JsxExpression ;
1530
1531
}
1531
1532
1532
1533
export interface JsxSpreadAttribute extends ObjectLiteralElement {
1533
1534
kind : SyntaxKind . JsxSpreadAttribute ;
1534
- parent ?: JsxOpeningLikeElement ;
1535
+ parent ?: JsxAttributes ;
1535
1536
expression : Expression ;
1536
1537
}
1537
1538
You can’t perform that action at this time.
0 commit comments