diff options
Diffstat (limited to 'js/dom_types.ts')
-rw-r--r-- | js/dom_types.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/dom_types.ts b/js/dom_types.ts index 19a3d5fe2..22f704ee4 100644 --- a/js/dom_types.ts +++ b/js/dom_types.ts @@ -225,7 +225,7 @@ interface AbortSignal extends EventTarget { ): void; } -interface ReadableStream { +export interface ReadableStream { readonly locked: boolean; cancel(): Promise<void>; getReader(): ReadableStreamReader; @@ -235,7 +235,7 @@ interface EventListenerObject { handleEvent(evt: Event): void; } -interface ReadableStreamReader { +export interface ReadableStreamReader { cancel(): Promise<void>; // tslint:disable-next-line:no-any read(): Promise<any>; @@ -270,7 +270,7 @@ export interface Blob { slice(start?: number, end?: number, contentType?: string): Blob; } -interface Body { +export interface Body { /** A simple getter used to expose a `ReadableStream` of the body contents. */ readonly body: ReadableStream | null; /** Stores a `Boolean` that declares whether the body has been used in a |