summaryrefslogtreecommitdiff
path: root/ws
diff options
context:
space:
mode:
Diffstat (limited to 'ws')
-rw-r--r--ws/mod.ts3
-rw-r--r--ws/test.ts2
2 files changed, 3 insertions, 2 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";
diff --git a/ws/test.ts b/ws/test.ts
index 684c43002..46ea1cb83 100644
--- a/ws/test.ts
+++ b/ws/test.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import "./sha1_test.ts";
-import { Buffer } from "deno";
+const { Buffer } = Deno;
import { BufReader } from "../io/bufio.ts";
import { assert, assertEqual, test } from "../testing/mod.ts";
import {