Closed
Description
⚙ Compilation target
ESNext
⚙ Library
5.8
Missing / Incorrect Definition

https://undici.nodejs.org/#/docs/api/Dispatcher?id=parameter-responsedata
But thats not the case.
Sample Code
async function foo() {
const res = await fetch('https://example.com');
console.log(await res.bytes()); // error: Property 'bytes' does not exist on type 'Response'.ts(2339)
}
foo();
Documentation Link
No response
Metadata
Metadata
Assignees
Labels
No labels