From f90f62fa52eccd020026b6899de1b3c7ae0288b6 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 8 Mar 2019 09:25:16 +0900 Subject: Use Deno global var instead of built-in "deno" module (denoland/deno_std#247) Original: https://github.com/denoland/deno_std/commit/395392912d69fe320d74c1f95a27be8e4adc0fa6 --- ws/mod.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ws') diff --git a/ws/mod.ts b/ws/mod.ts index 6c827802b..b68f3ad4a 100644 --- a/ws/mod.ts +++ b/ws/mod.ts @@ -1,6 +1,7 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. const { Buffer } = Deno; -import { Writer, Conn } from "deno"; +type Conn = Deno.Conn; +type Writer = Deno.Writer; import { BufReader, BufWriter } from "../io/bufio.ts"; import { readLong, readShort, sliceLongToBytes } from "../io/ioutil.ts"; import { Sha1 } from "./sha1.ts"; -- cgit v1.2.3