Skip to content

Commit 2761553

Browse files
committed
🤬
1 parent 5d705b6 commit 2761553

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎cli/js/lib.deno.ns.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ declare namespace Deno {
245245
export function chdir(directory: string): void;
246246

247247
/** UNSTABLE: might move to Deno.symbols */
248-
export const EOF: symbol;
248+
export const EOF: unique symbol;
249249

250250
/** UNSTABLE: might move to Deno.symbols */
251251
export type EOF = typeof EOF;

‎cli/js/lib.deno.shared_globals.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,8 +1061,7 @@ declare namespace __io {
10611061
declare namespace __fetch {
10621062
// @url js/fetch.d.ts
10631063

1064-
class Body
1065-
implements __domTypes.Body, __domTypes.ReadableStream, __io.ReadCloser {
1064+
class Body implements __domTypes.Body, __domTypes.ReadableStream {
10661065
private rid;
10671066
readonly contentType: string;
10681067
bodyUsed: boolean;
@@ -1077,7 +1076,6 @@ declare namespace __fetch {
10771076
formData(): Promise<__domTypes.FormData>;
10781077
json(): Promise<any>;
10791078
text(): Promise<string>;
1080-
read(p: Uint8Array): Promise<number | __io.EOF>;
10811079
close(): void;
10821080
cancel(): Promise<void>;
10831081
getReader(): __domTypes.ReadableStreamReader;

0 commit comments

Comments
 (0)