mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(dts): specify the underlying buffer type in more places (#30640)
This commit is contained in:
parent
e02e4c2042
commit
a3a904da14
6 changed files with 35 additions and 28 deletions
2
cli/tsc/dts/lib.deno.ns.d.ts
vendored
2
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -3835,7 +3835,7 @@ declare namespace Deno {
|
|||
* Reads the stream to completion. It returns a promise that resolves with
|
||||
* a `Uint8Array`.
|
||||
*/
|
||||
bytes(): Promise<Uint8Array>;
|
||||
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
||||
/**
|
||||
* Reads the stream to completion. It returns a promise that resolves with
|
||||
* the result of parsing the body text as JSON.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue