summaryrefslogtreecommitdiff
path: root/js/files.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-10-03 23:58:29 -0400
committerGitHub <noreply@github.com>2018-10-03 23:58:29 -0400
commit0422b224e8a55bf259cdbe955d825229496a0687 (patch)
tree1bf47de8ca1a5405a40d2303cff81f72190095bb /js/files.ts
parente5e7f0f038494bfe8aa14e31c8d13d6cf481186a (diff)
First pass at support for TCP servers and clients. (#884)
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
Diffstat (limited to 'js/files.ts')
-rw-r--r--js/files.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files.ts b/js/files.ts
index db2c903c4..16d3f11ab 100644
--- a/js/files.ts
+++ b/js/files.ts
@@ -18,7 +18,7 @@ export class File implements Reader, Writer, Closer {
}
close(): void {
- return close(this.fd);
+ close(this.fd);
}
}