Skip to content

Commit

Permalink
🤬
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 14, 2020
1 parent 5d705b6 commit 2761553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/js/lib.deno.ns.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 1 addition & 3 deletions cli/js/lib.deno.shared_globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -1077,7 +1076,6 @@ declare namespace __fetch {
formData(): Promise<__domTypes.FormData>;
json(): Promise<any>;
text(): Promise<string>;
read(p: Uint8Array): Promise<number | __io.EOF>;
close(): void;
cancel(): Promise<void>;
getReader(): __domTypes.ReadableStreamReader;
Expand Down

0 comments on commit 2761553

Please sign in to comment.