From 678313b17677e012ba9a07aeca58af1aafbf4e8c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 28 Apr 2020 17:40:43 +0100 Subject: BREAKING: Remove Deno.EOF, use null instead (#4953) --- cli/js/net.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/net.ts') diff --git a/cli/js/net.ts b/cli/js/net.ts index 6f6736ee2..3ca1219e6 100644 --- a/cli/js/net.ts +++ b/cli/js/net.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { errors } from "./errors.ts"; -import { EOF, Reader, Writer, Closer } from "./io.ts"; +import { Reader, Writer, Closer } from "./io.ts"; import { read, write } from "./ops/io.ts"; import { close } from "./ops/resources.ts"; import * as netOps from "./ops/net.ts"; @@ -40,7 +40,7 @@ export class ConnImpl implements Conn { return write(this.rid, p); } - read(p: Uint8Array): Promise { + read(p: Uint8Array): Promise { return read(this.rid, p); } -- cgit v1.2.3