@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
1 new5 fixed3 changed1 internal
Release note
Thanks @0o001 and @yangguansen for your first PRs!
:bug: Bug Fix
babel-plugin-transform-typescript: Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
babel-types: fix: definition of TS function type params (@danez)
babel-plugin-transform-async-generator-functions, babel-plugin-transform-class-static-block, babel-plugin-transform-dynamic-import, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-strings, babel-plugin-transform-logical-assignment-operators, babel-plugin-transform-nullish-coalescing-operator, babel-plugin-transform-numeric-separator, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-catch-binding, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-property-in-object: fix(standalone): strip archived syntax plugins (@JLHwung)
babel-core: Support configuring cache in ESM configs (@nicolo-ribaudo)
:house: Internal
babel-parser: Do not record trailing comma pos when
maybeAsyncArrow: false(@JLHwung)babel-core, babel-helper-compilation-targets, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decorators, babel-preset-env, babel-preset-react, babel-register, babel-traverse, babel-types: enable jest/no-standalone-expect (@JLHwung)
babel-core, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-modules-commonjs, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: bump json5, terser and webpack, further minimize babel helpers (@JLHwung)
Other
:microscope: Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-optional-chaining, babel-preset-env: Simplify
?.output when chain result is ignored (@nicolo-ribaudo)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.