From 01fa61045f5f929c9e8ff1372d900a0b677947c5 Mon Sep 17 00:00:00 2001 From: ddmoney420 <130018552+ddmoney420@users.noreply.github.com> Date: Fri, 30 Jan 2026 13:21:11 -0700 Subject: [PATCH] fix(types): add missing `bun-linux-x64-${SIMD}` compile target type (#26607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Adds missing `bun-linux-x64-baseline` and `bun-linux-x64-modern` compile target types - These targets are supported by the Bun CLI but were missing from the TypeScript type definitions ## Changes Added `bun-linux-x64-${SIMD}` to the `CompileTarget` type union, which expands to: - `bun-linux-x64-baseline` - `bun-linux-x64-modern` ## Test plan - [x] TypeScript should now accept `target: 'bun-linux-x64-modern'` without type errors Closes #26247 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- packages/bun-types/bun.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index 59c93bc82a..4621e9854e 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -2436,9 +2436,10 @@ declare module "bun" { | `bun-darwin-x64-${SIMD}` | `bun-linux-${Architecture}` | `bun-linux-${Architecture}-${Libc}` + | `bun-linux-x64-${SIMD}` + | `bun-linux-x64-${SIMD}-${Libc}` | "bun-windows-x64" - | `bun-windows-x64-${SIMD}` - | `bun-linux-x64-${SIMD}-${Libc}`; + | `bun-windows-x64-${SIMD}`; } /**