mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 07:34:36 +00:00
Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)
Original: 395392912d
This commit is contained in:
parent
fd74b38d36
commit
f90f62fa52
19 changed files with 36 additions and 27 deletions
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||
const { Buffer, mkdir, open } = Deno;
|
||||
import { File, Reader } from "deno";
|
||||
type File = Deno.File;
|
||||
type Reader = Deno.Reader;
|
||||
import { encode } from "../strings/strings.ts";
|
||||
import * as path from "../fs/path.ts";
|
||||
// `off` is the offset into `dst` where it will at which to begin writing values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue