WhatBrokeToday
GTA 6FAQ
Bun

Bun `bun check` Type Checking Fails With Incorrect Inferences and Errors

minor

Is it fixed? Not yet.

Ongoing since Nov 17, 12:56 UTC. First reported Nov 17, 12:56 UTC.

What happened

Users running `bun check` on Bun 1.4.4 encounter incorrect type inference issues, such as inferring `{}` for array elements of a yup schema and false TS4023/TS4058 errors with declaration files, whereas `tsc` reports no errors.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    `bun check` infers `{}` for array elements of a yup 0.31 schema, where `tsc` 7.0.2 reports no error

    Source

Evidence

2 reports · 2 GitHubShow
  1. [1]
    GitHub First report
    `bun check` infers `{}` for array elements of a yup 0.31 schema, where `tsc` 7.0.2 reports no error(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4 What platform is your computer? Darwin arm64 What steps can reproduce the bug? package.json: { "name": "bun-check-yup-repro", "private": true, "dependencies": { "yup": "0.31.1", "@types/yup": "0.29.14", "typescript": "7.0.2" } } tsconfig.json: { "compilerOptions": { "strict": true, "noEmit": true, "module": "esnext", "moduleResolution": "bundler", "skipLibCheck": true }, "include": ["index.ts"] } index.ts: import { array, number, object, string } from…

    by whoisahmed 0upvotes 1comments

  2. [2]
    GitHub
    `bun check`: false TS4023/TS4058 "cannot be named" for an inferred type from a `@types` package with `declaration: true` (tsc 7.0.2 accepts)(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4 What platform is your computer? Darwin arm64 (macOS) What steps can reproduce the bug? package.json: { "name": "repro", "private": true, "type": "module", "devDependencies": { "@types/node": "26.6.6", "@types/supertest": "7.2.1", "supertest": "7.2.2", "typescript": "7.0.2" } } tsconfig.json: { "compilerOptions": { "target": "esnext", "module": "nodenext", "strict": true, "declaration": true, "noEmit": true, "allowImportingTsExtensions": true,…

    by jonathanong 0upvotes 1comments93% match

FAQ

What happened in the Bun outage?

Users running `bun check` on Bun 1.4.4 encounter incorrect type inference issues, such as inferring `{}` for array elements of a yup schema and false TS4023/TS4058 errors with declaration files, whereas `tsc` reports no errors.

What is affected by the Bun outage?

Bun (versions: 1.4.4).

When did the Bun outage start and end?

It started Nov 17, 12:56 UTC and is still ongoing (1 d 15 h so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 2 reports from 1 independent source.