2 people reported

All time, since Aug 20.

Process event listener types only accept memoryPressure in bun-types

“error TS2345: Argument of type '"SIGINT"' is not assignable to parameter of type '"memoryPressure"'.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/5808/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Process event listener types only accept memoryPressure in bun-types. tsc --noEmit rejects "SIGINT" and other event names for process.on, removeListener and off after bun-types 1.4.0.

Is this your bug?

File my report
Where
bun-types
Error text
error TS2345: Argument of type '"SIGINT"' is not assignable to parameter of type '"memoryPressure"'.Pasted in 2 reports
Versions
1.4.0
Platforms
Linux
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. bun-types 1.4.0 memoryPressure overrides break process.removeListener/off with @types/node@24#40003
  2. New memoryPressure event type signature deletes all type signatures for other process events#39807

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.