summaryrefslogtreecommitdiff
path: root/io/iotest.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-03-08 09:25:16 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-03-07 19:25:16 -0500
commitf90f62fa52eccd020026b6899de1b3c7ae0288b6 (patch)
tree6c8b67a43e353b01671179182a5b4c25f95ef416 /io/iotest.ts
parentfd74b38d361db4a251621d486b69473a4cc13f24 (diff)
Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)
Original: https://github.com/denoland/deno_std/commit/395392912d69fe320d74c1f95a27be8e4adc0fa6
Diffstat (limited to 'io/iotest.ts')
-rw-r--r--io/iotest.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/iotest.ts b/io/iotest.ts
index e3a42f58a..9973562a7 100644
--- a/io/iotest.ts
+++ b/io/iotest.ts
@@ -2,8 +2,8 @@
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-
-import { Reader, ReadResult } from "deno";
+type Reader = Deno.Reader;
+type ReadResult = Deno.ReadResult;
/** OneByteReader returns a Reader that implements
* each non-empty Read by reading one byte from r.