File tree Expand file tree Collapse file tree 5 files changed +4
-477
lines changed Expand file tree Collapse file tree 5 files changed +4
-477
lines changed Original file line number Diff line number Diff line change @@ -1775,10 +1775,13 @@ pub struct FormalParameter<'a> {
1775
1775
#[ estree( flatten) ]
1776
1776
pub pattern : BindingPattern < ' a > ,
1777
1777
#[ ts]
1778
+ #[ estree( skip) ]
1778
1779
pub accessibility : Option < TSAccessibility > ,
1779
1780
#[ ts]
1781
+ #[ estree( skip) ]
1780
1782
pub readonly : bool ,
1781
1783
#[ ts]
1784
+ #[ estree( skip) ]
1782
1785
pub r#override : bool ,
1783
1786
}
1784
1787
Original file line number Diff line number Diff line change @@ -1382,9 +1382,6 @@ impl ESTree for FormalParameter<'_> {
1382
1382
state. serialize_ts_field ( "typeAnnotation" , & self . pattern . type_annotation ) ;
1383
1383
state. serialize_ts_field ( "optional" , & self . pattern . optional ) ;
1384
1384
state. serialize_ts_field ( "decorators" , & self . decorators ) ;
1385
- state. serialize_ts_field ( "accessibility" , & self . accessibility ) ;
1386
- state. serialize_ts_field ( "readonly" , & self . readonly ) ;
1387
- state. serialize_ts_field ( "override" , & self . r#override ) ;
1388
1385
state. end ( ) ;
1389
1386
}
1390
1387
}
Original file line number Diff line number Diff line change @@ -814,9 +814,6 @@ function deserializeFormalParameter(pos) {
814
814
typeAnnotation : deserializeOptionBoxTSTypeAnnotation ( pos + 56 ) ,
815
815
optional : deserializeBool ( pos + 64 ) ,
816
816
decorators : deserializeVecDecorator ( pos + 8 ) ,
817
- accessibility : deserializeOptionTSAccessibility ( pos + 72 ) ,
818
- readonly : deserializeBool ( pos + 73 ) ,
819
- override : deserializeBool ( pos + 74 ) ,
820
817
} ;
821
818
}
822
819
Original file line number Diff line number Diff line change @@ -574,9 +574,6 @@ export interface FormalParameterRest extends Span {
574
574
export type FormalParameter =
575
575
& ( {
576
576
decorators ?: Array < Decorator > ;
577
- accessibility ?: TSAccessibility | null ;
578
- readonly ?: boolean ;
579
- override ?: boolean ;
580
577
} )
581
578
& BindingPattern ;
582
579
You can’t perform that action at this time.
0 commit comments