fix(ast/extree): fix TSModuleDeclaration.global#9907
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
CodSpeed Performance ReportMerging #9907 will create unknown performance changesComparing Summary
Benchmarks breakdown
|
overlookmotel
left a comment
There was a problem hiding this comment.
I think the way you've done it here is good. Even if the field is deprecated, it still exists in TS-ESLint AST, and some code may rely on it. So we should match that.
Merge activity
|
|
You going to merge this or what, Mr Graphite? |
|
Graphite got stuck. I've merged manually. |
This is a copy of #9907. For some reason Graphite bungled things up, and that PR got merged into the wrong branch. spec: https://github.com/typescript-eslint/typescript-eslint/blob/6428670b94de0027189803e5a291858d2e45362d/packages/ast-spec/src/declaration/TSModuleDeclaration/spec.ts#L26-L36 It looks like this is a deprecated property as its redundant. I thought of removing it in https://github.com/oxc-project/acorn-test262, but that means I need to modify 10K files there, so I went with fixing this side.

spec: https://github.com/typescript-eslint/typescript-eslint/blob/6428670b94de0027189803e5a291858d2e45362d/packages/ast-spec/src/declaration/TSModuleDeclaration/spec.ts#L26-L36
It looks like this is a deprecated property as its redundant. I thought of removing it in https://github.com/oxc-project/acorn-test262, but that means I need to modify 10K files there, so I went with fixing this side.