File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 18
18
export type Headers = Record < string , string > ;
19
19
20
20
/** Response type exposed by the networking APIs. */
21
- export type ConnectionType = string | ArrayBuffer | Blob | ReadableStream < Uint8Array > ;
21
+ export type ConnectionType =
22
+ | string
23
+ | ArrayBuffer
24
+ | Blob
25
+ | ReadableStream < Uint8Array > ;
22
26
23
27
/**
24
28
* A lightweight wrapper around XMLHttpRequest with a
Original file line number Diff line number Diff line change @@ -146,7 +146,9 @@ export function newBytesConnection(): Connection<ArrayBuffer> {
146
146
return new FetchBytesConnection ( ) ;
147
147
}
148
148
149
- export class FetchStreamConnection extends FetchConnection < ReadableStream < Uint8Array > > {
149
+ export class FetchStreamConnection extends FetchConnection <
150
+ ReadableStream < Uint8Array >
151
+ > {
150
152
private stream_ : ReadableStream < Uint8Array > | null = null ;
151
153
152
154
async send (
You can’t perform that action at this time.
0 commit comments