From 27615531e416b9beff3140496828e06c753c6074 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 14 Feb 2020 14:29:30 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/js/lib.deno.ns.d.ts | 2 +- cli/js/lib.deno.shared_globals.d.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 0fda93bfb226df..84e0a491984a0a 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -245,7 +245,7 @@ declare namespace Deno { export function chdir(directory: string): void; /** UNSTABLE: might move to Deno.symbols */ - export const EOF: symbol; + export const EOF: unique symbol; /** UNSTABLE: might move to Deno.symbols */ export type EOF = typeof EOF; diff --git a/cli/js/lib.deno.shared_globals.d.ts b/cli/js/lib.deno.shared_globals.d.ts index ce2cef6da0f31d..4cf312d867e817 100644 --- a/cli/js/lib.deno.shared_globals.d.ts +++ b/cli/js/lib.deno.shared_globals.d.ts @@ -1061,8 +1061,7 @@ declare namespace __io { declare namespace __fetch { // @url js/fetch.d.ts - class Body - implements __domTypes.Body, __domTypes.ReadableStream, __io.ReadCloser { + class Body implements __domTypes.Body, __domTypes.ReadableStream { private rid; readonly contentType: string; bodyUsed: boolean; @@ -1077,7 +1076,6 @@ declare namespace __fetch { formData(): Promise<__domTypes.FormData>; json(): Promise; text(): Promise; - read(p: Uint8Array): Promise; close(): void; cancel(): Promise; getReader(): __domTypes.ReadableStreamReader;