summaryrefslogtreecommitdiff
path: root/ws/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ws/mod.ts')
-rw-r--r--ws/mod.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ws/mod.ts b/ws/mod.ts
index 6433a75d1..bb943c714 100644
--- a/ws/mod.ts
+++ b/ws/mod.ts
@@ -1,5 +1,6 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { Buffer, Writer, Conn } from "deno";
+const { Buffer } = Deno;
+import { Writer, Conn } from "deno";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { readLong, readShort, sliceLongToBytes } from "../io/ioutil.ts";
import { Sha1 } from "./sha1.ts";