From a4f27c4d570ad9b47bbd560fbf9b017f852fc29f Mon Sep 17 00:00:00 2001 From: Steven Guerrero Date: Sat, 21 Nov 2020 16:13:18 -0500 Subject: feat(std/node): Add Readable Stream / Writable Stream / errors support (#7569) --- std/node/_util.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'std/node/_util.ts') diff --git a/std/node/_util.ts b/std/node/_util.ts index b21743541..78a9e1d8b 100644 --- a/std/node/_util.ts +++ b/std/node/_util.ts @@ -1,15 +1,11 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. export { promisify } from "./_util/_util_promisify.ts"; export { callbackify } from "./_util/_util_callbackify.ts"; -import { codes, errorMap } from "./_errors.ts"; +import { ERR_INVALID_ARG_TYPE, ERR_OUT_OF_RANGE, errorMap } from "./_errors.ts"; import * as types from "./_util/_util_types.ts"; export { types }; const NumberIsSafeInteger = Number.isSafeInteger; -const { - ERR_OUT_OF_RANGE, - ERR_INVALID_ARG_TYPE, -} = codes; const DEFAULT_INSPECT_OPTIONS = { showHidden: false, -- cgit v1.2.3