@@ -493,7 +493,7 @@ pub use match_member_expression;
493
493
#[ ast( visit) ]
494
494
#[ derive( Debug ) ]
495
495
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
496
- #[ estree( rename = "MemberExpression" , add_fields( computed = True ) , add_ts = "computed: true" ) ]
496
+ #[ estree( rename = "MemberExpression" , add_fields( computed = True ) ) ]
497
497
pub struct ComputedMemberExpression < ' a > {
498
498
pub span : Span ,
499
499
pub object : Expression < ' a > ,
@@ -508,7 +508,7 @@ pub struct ComputedMemberExpression<'a> {
508
508
#[ ast( visit) ]
509
509
#[ derive( Debug ) ]
510
510
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
511
- #[ estree( rename = "MemberExpression" , add_fields( computed = False ) , add_ts = "computed: false" ) ]
511
+ #[ estree( rename = "MemberExpression" , add_fields( computed = False ) ) ]
512
512
pub struct StaticMemberExpression < ' a > {
513
513
pub span : Span ,
514
514
pub object : Expression < ' a > ,
@@ -522,7 +522,7 @@ pub struct StaticMemberExpression<'a> {
522
522
#[ ast( visit) ]
523
523
#[ derive( Debug ) ]
524
524
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
525
- #[ estree( rename = "MemberExpression" , add_fields( computed = False ) , add_ts = "computed: false" ) ]
525
+ #[ estree( rename = "MemberExpression" , add_fields( computed = False ) ) ]
526
526
pub struct PrivateFieldExpression < ' a > {
527
527
pub span : Span ,
528
528
pub object : Expression < ' a > ,
@@ -644,7 +644,7 @@ pub struct UpdateExpression<'a> {
644
644
#[ ast( visit) ]
645
645
#[ derive( Debug ) ]
646
646
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
647
- #[ estree( add_fields( prefix = True ) , add_ts = "prefix: true" ) ]
647
+ #[ estree( add_fields( prefix = True ) ) ]
648
648
pub struct UnaryExpression < ' a > {
649
649
pub span : Span ,
650
650
pub operator : UnaryOperator ,
@@ -668,7 +668,7 @@ pub struct BinaryExpression<'a> {
668
668
#[ ast( visit) ]
669
669
#[ derive( Debug ) ]
670
670
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
671
- #[ estree( rename = "BinaryExpression" , add_fields( operator = In ) , add_ts = "operator: \" in \" " ) ]
671
+ #[ estree( rename = "BinaryExpression" , add_fields( operator = In ) ) ]
672
672
pub struct PrivateInExpression < ' a > {
673
673
pub span : Span ,
674
674
pub left : PrivateIdentifier < ' a > ,
@@ -898,7 +898,6 @@ pub enum AssignmentTargetProperty<'a> {
898
898
#[ estree(
899
899
rename = "Property" ,
900
900
add_fields( kind = Init , method = False , shorthand = True , computed = False ) ,
901
- add_ts = "kind: \" init\" ; method: false; shorthand: true; computed: false"
902
901
) ]
903
902
pub struct AssignmentTargetPropertyIdentifier < ' a > {
904
903
pub span : Span ,
@@ -918,11 +917,7 @@ pub struct AssignmentTargetPropertyIdentifier<'a> {
918
917
#[ ast( visit) ]
919
918
#[ derive( Debug ) ]
920
919
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
921
- #[ estree(
922
- rename = "Property" ,
923
- add_fields( kind = Init , method = False , shorthand = False ) ,
924
- add_ts = "kind: \" init\" ; method: false; shorthand: false"
925
- ) ]
920
+ #[ estree( rename = "Property" , add_fields( kind = Init , method = False , shorthand = False ) ) ]
926
921
pub struct AssignmentTargetPropertyProperty < ' a > {
927
922
pub span : Span ,
928
923
/// The property key
@@ -1525,11 +1520,7 @@ pub struct ObjectPattern<'a> {
1525
1520
#[ ast( visit) ]
1526
1521
#[ derive( Debug ) ]
1527
1522
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
1528
- #[ estree(
1529
- rename = "Property" ,
1530
- add_fields( kind = Init , method = False ) ,
1531
- add_ts = "kind: \" init\" ; method: false"
1532
- ) ]
1523
+ #[ estree( rename = "Property" , add_fields( kind = Init , method = False ) ) ]
1533
1524
pub struct BindingProperty < ' a > {
1534
1525
pub span : Span ,
1535
1526
pub key : PropertyKey < ' a > ,
@@ -1615,7 +1606,6 @@ pub struct BindingRestElement<'a> {
1615
1606
#[ estree(
1616
1607
add_ts_def = "type ParamPattern = FormalParameter | FormalParameterRest" ,
1617
1608
add_fields( expression = False ) ,
1618
- add_ts = "expression: false"
1619
1609
) ]
1620
1610
pub struct Function < ' a > {
1621
1611
pub span : Span ,
@@ -1768,7 +1758,7 @@ pub struct FunctionBody<'a> {
1768
1758
) ]
1769
1759
#[ derive( Debug ) ]
1770
1760
#[ generate_derive( CloneIn , GetSpan , GetSpanMut , ContentEq , ESTree ) ]
1771
- #[ estree( add_fields( generator = False , id = Null ) , add_ts = "generator: false; id: null" ) ]
1761
+ #[ estree( add_fields( generator = False , id = Null ) ) ]
1772
1762
pub struct ArrowFunctionExpression < ' a > {
1773
1763
pub span : Span ,
1774
1764
/// Is the function body an arrow expression? i.e. `() => expr` instead of `() => {}`
0 commit comments