diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-30 20:22:44 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-30 22:43:36 +0800 |
commit | f429032eef007bafaed108171631f4b3d3233f6b (patch) | |
tree | 2e6e363ecbc1e86fc9def9fdd475b1293237146f /packages/react-docs/src/utils | |
parent | 5088b7f23c087366559259c832b7a390b892e2e5 (diff) | |
download | dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar.gz dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar.bz2 dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar.lz dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar.xz dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.tar.zst dexon-sol-tools-f429032eef007bafaed108171631f4b3d3233f6b.zip |
move shared doc types from react-docs to @0x/types
Diffstat (limited to 'packages/react-docs/src/utils')
-rw-r--r-- | packages/react-docs/src/utils/doxity_utils.ts | 9 | ||||
-rw-r--r-- | packages/react-docs/src/utils/typedoc_utils.ts | 12 |
2 files changed, 9 insertions, 12 deletions
diff --git a/packages/react-docs/src/utils/doxity_utils.ts b/packages/react-docs/src/utils/doxity_utils.ts index 6815daa0c..85794d4ba 100644 --- a/packages/react-docs/src/utils/doxity_utils.ts +++ b/packages/react-docs/src/utils/doxity_utils.ts @@ -1,20 +1,17 @@ import * as _ from 'lodash'; import { - AbiTypes, DocAgnosticFormat, DocSection, - DoxityAbiDoc, - DoxityContractObj, - DoxityDocObj, - DoxityInput, EventArg, Parameter, Property, SolidityMethod, Type, TypeDocTypes, -} from '../types'; +} from '@0xproject/types'; + +import { AbiTypes, DoxityAbiDoc, DoxityContractObj, DoxityDocObj, DoxityInput } from '../types'; export const doxityUtils = { convertToDocAgnosticFormat(doxityDocObj: DoxityDocObj): DocAgnosticFormat { diff --git a/packages/react-docs/src/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts index f44945369..a24e63045 100644 --- a/packages/react-docs/src/utils/typedoc_utils.ts +++ b/packages/react-docs/src/utils/typedoc_utils.ts @@ -1,7 +1,3 @@ -import { errorUtils } from '@0xproject/utils'; -import * as _ from 'lodash'; - -import { DocsInfo } from '../docs_info'; import { CustomType, CustomTypeChild, @@ -11,7 +7,6 @@ import { ExternalTypeToLink, GeneratedDocJson, IndexSignature, - KindString, Parameter, Property, Type, @@ -21,7 +16,12 @@ import { TypeParameter, TypescriptFunction, TypescriptMethod, -} from '../types'; +} from '@0xproject/types'; +import { errorUtils } from '@0xproject/utils'; +import * as _ from 'lodash'; + +import { DocsInfo } from '../docs_info'; +import { KindString } from '../types'; import { constants } from './constants'; |