Skip to content

fix(ast/estree): fix field order and type def for RestElement in FormalParameters#10961

Merged
graphite-app[bot] merged 1 commit intomainfrom
05-09-fix_ast_estree_fix_field_order_and_type_def_for_restelement_in_formalparameters_
May 12, 2025
Merged

fix(ast/estree): fix field order and type def for RestElement in FormalParameters#10961
graphite-app[bot] merged 1 commit intomainfrom
05-09-fix_ast_estree_fix_field_order_and_type_def_for_restelement_in_formalparameters_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented May 12, 2025

Change field order for a RestElement in FormalParameters to contain decorators, optional, typeAnnotation in that order - to match RestElement in other positions.

Fix TS type def for FormalParameterRest to include all fields.

@github-actions github-actions bot added A-ast Area - AST C-bug Category - Bug labels May 12, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review May 12, 2025 10:53
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label May 12, 2025
Copy link
Member Author

overlookmotel commented May 12, 2025

Merge activity

@codspeed-hq
Copy link

codspeed-hq bot commented May 12, 2025

CodSpeed Instrumentation Performance Report

Merging #10961 will not alter performance

Comparing 05-09-fix_ast_estree_fix_field_order_and_type_def_for_restelement_in_formalparameters_ (8b8f78f) with main (cea46b9)

Summary

✅ 36 untouched benchmarks

…ormalParameters` (#10961)

Change field order for a `RestElement` in `FormalParameters` to contain `decorators`, `optional`, `typeAnnotation` in that order - to match `RestElement` in other positions.

Fix TS type def for `FormalParameterRest` to include all fields.
@graphite-app graphite-app bot force-pushed the 05-09-fix_ast_estree_fix_field_order_and_type_def_for_restelement_in_formalparameters_ branch from 397e1dc to 8b8f78f Compare May 12, 2025 11:10
@graphite-app graphite-app bot merged commit 8b8f78f into main May 12, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 05-09-fix_ast_estree_fix_field_order_and_type_def_for_restelement_in_formalparameters_ branch May 12, 2025 11:16
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant