From 9042fcc12e7774cdd0ca3a5d08918a07dae8102b Mon Sep 17 00:00:00 2001 From: Steven Guerrero Date: Thu, 26 Nov 2020 07:50:08 -0500 Subject: feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises (#7940) --- std/node/_fs/_fs_readFile.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'std/node/_fs/_fs_readFile.ts') diff --git a/std/node/_fs/_fs_readFile.ts b/std/node/_fs/_fs_readFile.ts index e4a7d2031..d380161fd 100644 --- a/std/node/_fs/_fs_readFile.ts +++ b/std/node/_fs/_fs_readFile.ts @@ -1,15 +1,13 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { - BinaryEncodings, BinaryOptionsArgument, - Encodings, FileOptionsArgument, getEncoding, - TextEncodings, TextOptionsArgument, } from "./_fs_common.ts"; import { Buffer } from "../buffer.ts"; import { fromFileUrl } from "../path.ts"; +import { BinaryEncodings, Encodings, TextEncodings } from "../_utils.ts"; function maybeDecode(data: Uint8Array, encoding: TextEncodings): string; function maybeDecode( -- cgit v1.2.3