Skip to content

Presets need new releases to fix TS 4.9 support #15157

@aaronadamsCA

Description

@aaronadamsCA

💻

  • Would you like to work on this feature?

What problem are you trying to solve?

After upgrading from Babel 7.18 to 7.20, I found that TypeScript 4.9 support was broken. I was still getting syntax errors on the satisfies operator.

After comparing #14211 to my installed dependencies, I found outdated transitive dependencies @babel/helper-skip-transparent-expression-wrappers@npm:7.18.9 and @babel/plugin-transform-typescript@npm:7.18.8 in my lockfile.

My Babel dependencies, all latest:

"@babel/core": "7.20.2",
"@babel/eslint-parser": "7.19.1",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",

Describe the solution you'd like

Releases of updated 7.20.x packages that cause these transitive dependencies to be upgraded.

Describe alternatives you've considered

I can manually resolve the transitive dependencies to newer versions, but this should not be necessary.

Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions