1 person reported

All time, since Oct 11.

Missing TS2540 for readonly intersection

“tsc keeps the property read-only when the writable member of the intersection is a mapped type that removes readonly.”

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/11468/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

Missing TS2540 for readonly property intersected with -readonly mapped type. bun check reports "No type errors" on assignment to a.id where Writable<I> & I, while tsc 7.0.2 and 6.0.3 error.

Is this your bug?

File my report
Where
bun check
Error text
index.ts(9,3): error TS2540: Cannot assign to 'id' because it is a read-only property.
Versions
1.4.3
Platforms
macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Check reports TS2615 unlike tsc2 people
  2. Mapped NoInfer tuple rejected1 person
  3. Bun check reports TS2322 tsc accepts on deeply nested types2 people

Original reports2, newest first

  1. bun check: false negative, no TS2540 for a readonly property in an intersection with a -readonly mapped type#44966
  2. bun check: false negative, no TS2540 for a readonly property in an intersection with a -readonly mapped type#44965

Do you work on Bun?

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