# What changed in @babel/preset-typescript

> 4 changes in @babel/preset-typescript 8 from its official release notes, upgrade guides and advisories: 1 breaking, 2 deprecations. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@babel/preset-typescript/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @babel/preset-typescript 8

### Breaking changes

- Importing internal files is disallowed; use the exported API only. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)

### Deprecations

- The loose option still works in individual plugins but emits a warning pointing to the equivalent assumptions configuration. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
- The spec option still works in individual plugins but emits a warning pointing to the equivalent assumptions configuration. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)

### Fixes and other changes

- The transform now skips `for await` statements. (8.0.7) — [release notes](https://github.com/babel/babel/blob/b23345e2a905edb19e35371ec64fcd1a0ea7c8a2/CHANGELOG.md#v807-2026-10-07)
