@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
7.29.7 is the newest release of 7.x.
In short
21 new11 fixed7 changed
Release note
Blog post: babeljs.io/blog/2020/03/16/7.9.0
:rocket: New Feature
babel-generator, babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-inline-elements, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-plugin-transform-regenerator, babel-preset-react, babel-preset-typescript, babel-standalone: Mark transpiled JSX elements as pure (@nicolo-ribaudo)
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx, babel-preset-react, babel-standalone: Add experimental version of the
babel-plugin-transform-react-jsxtransform (@lunaruan)babel-compat-data, babel-preset-env: Include preset modules (@nicolo-ribaudo)
babel-compat-data, babel-preset-env: Add numeric separator to
shippedProposals(@Wetinee)babel-core, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Allow extending untranspiled classes (@nicolo-ribaudo)
babel-core, babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd: Allow defining the moduleIds-related option in the transform plugins (@nicolo-ribaudo)
babel-core, babel-generator, babel-parser, babel-plugin-syntax-record-and-tuple, babel-types: Added support for record and tuple syntax. (@rickbutton)
babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-preset-flow: Implement support for
declareon class fields with Flow (@nicolo-ribaudo)babel-types: Add cloneDeepWithoutLoc (@Taym95)
babel-generator: Added jsescOptions to Numeric Literals (@sidntrivedi012)
babel-generator, babel-parser, babel-types: Add support for flow's SymbolTypeAnnotation (@existentialism)
babel-parser: Parse BigInts by default (@nicolo-ribaudo)
babel-parser: Add estree parsing support for
export * as A(@existentialism)babel-parser: feat: align ID_Start/ID_Continue regex to Unicode 13.0.0 (@JLHwung)
babel-plugin-transform-react-jsx-source, babel-preset-react: feat(react-jsx-source): add columnNumber property (@motiz88)
babel-generator, babel-parser, babel-plugin-transform-typescript, babel-preset-typescript, babel-types: Add
import typeandexport typesupport to TypeScript (@nicolo-ribaudo)
:bug: Bug Fix
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-helper-validator-identifier, babel-highlight, babel-parser, babel-types: Add @babel/helper-validator-identifier (@JLHwung)
babel-plugin-proposal-optional-chaining: Memoize call expressions in optional chains in loose mode (@oliverdunk)
babel-plugin-transform-react-jsx-self, babel-preset-react: Pass the correct
thisto JSX's__selfwith the old plugin (@nicolo-ribaudo)babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx: Use the correct
thisin__selffor JSX elements in arrows (@nicolo-ribaudo)babel-compat-data, babel-preset-env: Move
object-rest-spreadaftertransform-parameters(@JLHwung)babel-helpers, babel-plugin-transform-for-of, babel-preset-env: Allow for-of on polyfilled or builtin iterables without
Symbolsupport (@nicolo-ribaudo)babel-helpers, babel-plugin-transform-for-of, babel-preset-env: Add for-of fallback for arrays in browsers without symbol support (@nicolo-ribaudo)
babel-plugin-proposal-object-rest-spread: fix: object-rest-spread should not transform export array rest (@JLHwung)
babel-register: Add path separator to
@babel/registersourceRoot (@andrewdotn)babel-core, babel-helpers, babel-plugin-transform-runtime: Create File class for babel helpers (@JLHwung)
babel-helpers, babel-plugin-transform-modules-commonjs, babel-preset-env, babel-runtime-corejs2, babel-runtime: Allow rest/spread on polyfilled or builtin iterables without
Symbolsupport (@nicolo-ribaudo)babel-parser: Allow await when it is not in AsyncArrowHead (@arku)
babel-helpers, babel-plugin-proposal-object-rest-spread, babel-runtime-corejs2, babel-runtime: fix(rest-spread): Do not require
Symbol.iteratorfor strings (@clshortfuse)babel-generator: Fix printing edge cases in Nullish Coalescing and Optional Chaining (@jridgewell)
:nail_care: Polish
babel-parser: Rephrase parser error message (@JLHwung)
babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-plugin-transform-spread, babel-preset-env, babel-runtime-corejs2, babel-runtime: Throw better errors for non-iterables when Symbol doesn't exist. (@nicolo-ribaudo)
:house: Internal
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-helper-validator-identifier, babel-highlight, babel-parser, babel-types: Add @babel/helper-validator-identifier (@JLHwung)
babel-compat-data, babel-preset-env: Update compat-data (@existentialism)
babel-core: chore: bump json5 and minimist (@JLHwung)
babel-types: Add stricter Optional Chain node validation (@jridgewell)
babel-types: Update Purish aliases (@jridgewell)
babel-helpers, babel-plugin-transform-block-scoping, babel-plugin-transform-for-of, babel-plugin-transform-parameters, babel-plugin-transform-runtime, babel-preset-env: Extract for-of iterator handling to a helper (@nicolo-ribaudo)
babel-core, babel-plugin-proposal-decorators, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-parameters, babel-traverse: Support more node types in generateUidBasedOnNode (@jridgewell)
Other
Remove unused
gulp-rename(@existentialism)
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.