diff --git a/test/integration/bun-types/bun-types.test.ts b/test/integration/bun-types/bun-types.test.ts index c0236d37135d..eb4355a8f0e5 100644 --- a/test/integration/bun-types/bun-types.test.ts +++ b/test/integration/bun-types/bun-types.test.ts @@ -860,11 +860,13 @@ describe("@types/bun integration test", () => { "WebGLVertexArrayObjectOES", ]), diagnostics: [ + // lib.dom's Blob has no textStream(); node:buffer's Blob declares it + // since @types/node 26.5.0 (added to Node.js in v24.19.0 / v26.5.0). { - code: 2322, + code: 2741, line: "24154.ts:11:3", message: - "Type 'Blob' is not assignable to type 'import(\"node:buffer\").Blob'.\nThe types returned by 'stream()' are incompatible between these types.\nType 'ReadableStream>' is missing the following properties from type 'ReadableStream': blob, text, bytes, json", + "Property 'textStream' is missing in type 'Blob' but required in type 'import(\"node:buffer\").Blob'.", }, { code: 2769,