mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
chore: improve built-in API documentation (#16158)
Co-authored-by: crowlkats <crowlkats@toaxl.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
5d45d2a7e0
commit
a0d10efbb1
5 changed files with 1253 additions and 383 deletions
11
ext/web/lib.deno_web.d.ts
vendored
11
ext/web/lib.deno_web.d.ts
vendored
|
@ -671,13 +671,10 @@ interface ReadableStream<R = any> {
|
|||
cancel(reason?: any): Promise<void>;
|
||||
getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
|
||||
getReader(options?: { mode?: undefined }): ReadableStreamDefaultReader<R>;
|
||||
pipeThrough<T>(
|
||||
{ writable, readable }: {
|
||||
writable: WritableStream<R>;
|
||||
readable: ReadableStream<T>;
|
||||
},
|
||||
options?: PipeOptions,
|
||||
): ReadableStream<T>;
|
||||
pipeThrough<T>(transform: {
|
||||
writable: WritableStream<R>;
|
||||
readable: ReadableStream<T>;
|
||||
}, options?: PipeOptions): ReadableStream<T>;
|
||||
pipeTo(dest: WritableStream<R>, options?: PipeOptions): Promise<void>;
|
||||
tee(): [ReadableStream<R>, ReadableStream<R>];
|
||||
[Symbol.asyncIterator](options?: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue