Skip to content

Update preset typescript docs - #3235

Open
JLHwung wants to merge 3 commits into
babel:mainfrom
JLHwung:update-preset-typescript-docs
Open

Update preset typescript docs#3235
JLHwung wants to merge 3 commits into
babel:mainfrom
JLHwung:update-preset-typescript-docs

Conversation

@JLHwung

@JLHwung JLHwung commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@JLHwung JLHwung added the docs label Aug 4, 2026
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for babel-v8 ready!

Name Link
🔨 Latest commit cef5b45
🔍 Latest deploy log https://app.netlify.com/projects/babel-v8/deploys/6a72271107a8d00008b1a85e
😎 Deploy Preview https://deploy-preview-3235--babel-v8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for babel-v9 ready!

Name Link
🔨 Latest commit cef5b45
🔍 Latest deploy log https://app.netlify.com/projects/babel-v9/deploys/6a72271107a8d00008b1a860
😎 Deploy Preview https://deploy-preview-3235--babel-v9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread docs/v8-migration.md

**Migration**: The preset will also report invalid option names. Refer to the [docs](./preset-typescript.md#options) and ensure valid usage. For example, `runtime` is not a valid `preset-typescript` option and thus should be removed.

- `onlyRemoveTypeImports` defaults to `true` ([#12460](https://github.com/babel/babel/pull/12460))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaking change was accidentally introduced in babel/babel#12460. The older one does not contain this change.

Comment thread docs/v8-migration.md Outdated
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@babel/preset-typescript onlyRemoveTypeImports option defaults to true

4 participants