From cf8fdd3a701f21bfc3b2ec8397fa65948f5cdc78 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 6 Jun 2018 16:26:04 +0200 Subject: Move spawnSwitchErr to @0xproject/utils --- packages/react-docs/src/utils/typedoc_utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/react-docs/src/utils/typedoc_utils.ts') diff --git a/packages/react-docs/src/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts index 5a672f10f..5633d9040 100644 --- a/packages/react-docs/src/utils/typedoc_utils.ts +++ b/packages/react-docs/src/utils/typedoc_utils.ts @@ -1,3 +1,4 @@ +import { errorUtils } from '@0xproject/utils'; import * as _ from 'lodash'; import { DocsInfo } from '../docs_info'; @@ -19,7 +20,6 @@ import { TypescriptFunction, TypescriptMethod, } from '../types'; -import { utils } from '../utils/utils'; export const typeDocUtils = { isType(entity: TypeDocNode): boolean { @@ -197,7 +197,7 @@ export const typeDocUtils = { break; default: - throw utils.spawnSwitchErr('kindString', entity.kindString); + throw errorUtils.spawnSwitchErr('kindString', entity.kindString); } }); return docSection; -- cgit v1.2.3