From 64879562f92128e98b2fe8e62bf7bab8e3a34315 Mon Sep 17 00:00:00 2001 From: Chad Carbert Date: Thu, 25 Jun 2020 08:36:15 -0700 Subject: [PATCH] fix: export pretty printable error interface (#38) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index df9187d..d3e9229 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import {CLIError, addOclifExitCode, OclifError} from './errors/cli' import {ExitError} from './errors/exit' import prettyPrint, {PrettyPrintableError, applyPrettyPrintOptions} from './errors/pretty-print' -export {prettyPrint} +export {PrettyPrintableError} export function exit(code = 0): never { throw new ExitError(code)