Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)

Original: 395392912d
This commit is contained in:
Yoshiya Hinosawa 2019-03-08 09:25:16 +09:00 committed by Ryan Dahl
parent fd74b38d36
commit f90f62fa52
19 changed files with 36 additions and 27 deletions

View file

@ -4,7 +4,8 @@
// license that can be found in the LICENSE file.
const { Buffer } = Deno;
import { Reader, ReadResult } from "deno";
type Reader = Deno.Reader;
type ReadResult = Deno.ReadResult;
import { test } from "../testing/mod.ts";
import { assert, assertEquals } from "../testing/asserts.ts";
import { BufReader, BufWriter } from "./bufio.ts";