File tree 2 files changed +6
-6
lines changed
napi/parser/generated/deserialize
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -861,9 +861,9 @@ impl ESTree for ArrowFunctionExpressionBody<'_> {
861
861
left: keyCopy,
862
862
right: init,
863
863
/* IF_TS */
864
- typeAnnotation: null,
865
- optional: false,
866
864
decorators: [],
865
+ optional: false,
866
+ typeAnnotation: null,
867
867
/* END_IF_TS */
868
868
};
869
869
value
@@ -882,9 +882,9 @@ impl ESTree for AssignmentTargetPropertyIdentifierValue<'_> {
882
882
state. serialize_field ( "end" , & self . 0 . span . end ) ;
883
883
state. serialize_field ( "left" , & self . 0 . binding ) ;
884
884
state. serialize_field ( "right" , init) ;
885
- state. serialize_ts_field ( "typeAnnotation" , & Null ( ( ) ) ) ;
886
- state. serialize_ts_field ( "optional" , & False ( ( ) ) ) ;
887
885
state. serialize_ts_field ( "decorators" , & EmptyArray ( ( ) ) ) ;
886
+ state. serialize_ts_field ( "optional" , & False ( ( ) ) ) ;
887
+ state. serialize_ts_field ( "typeAnnotation" , & Null ( ( ) ) ) ;
888
888
state. end ( ) ;
889
889
} else {
890
890
self . 0 . binding . serialize ( serializer) ;
Original file line number Diff line number Diff line change @@ -426,9 +426,9 @@ function deserializeAssignmentTargetPropertyIdentifier(pos) {
426
426
end : end ,
427
427
left : keyCopy ,
428
428
right : init ,
429
- typeAnnotation : null ,
430
- optional : false ,
431
429
decorators : [ ] ,
430
+ optional : false ,
431
+ typeAnnotation : null ,
432
432
} ;
433
433
return {
434
434
type : 'Property' ,
You can’t perform that action at this time.
0 commit comments