diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-03-08 09:25:16 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-07 19:25:16 -0500 |
| commit | f90f62fa52eccd020026b6899de1b3c7ae0288b6 (patch) | |
| tree | 6c8b67a43e353b01671179182a5b4c25f95ef416 /io/bufio.ts | |
| parent | fd74b38d361db4a251621d486b69473a4cc13f24 (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/bufio.ts')
| -rw-r--r-- | io/bufio.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/io/bufio.ts b/io/bufio.ts index f583a2ff9..f057952fe 100644 --- a/io/bufio.ts +++ b/io/bufio.ts @@ -3,7 +3,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -import { Reader, ReadResult, Writer } from "deno"; +type Reader = Deno.Reader; +type ReadResult = Deno.ReadResult; +type Writer = Deno.Writer; import { charCode, copyBytes } from "./util.ts"; import { assert } from "../testing/asserts.ts"; |
