Fix type imports

This commit is contained in:
Fabio Berger
2018-06-01 13:33:46 -07:00
parent aefb922a05
commit 94b9d5644c
5 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import { ECSignature, Provider, SignedOrder } from '@0xproject/types';
import { ECSignature, SignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { Provider } from 'ethereum-types';
import * as ethUtil from 'ethereumjs-util';
import * as _ from 'lodash';

View File

@@ -1,7 +1,8 @@
import { schemas, SchemaValidator } from '@0xproject/json-schemas';
import { Order, SignatureType, SignedOrder, SolidityTypes } from '@0xproject/types';
import { Order, SignatureType, SignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import BN = require('bn.js');
import { SolidityTypes } from 'ethereum-types';
import * as ethABI from 'ethereumjs-abi';
import * as ethUtil from 'ethereumjs-util';
import * as _ from 'lodash';

View File

@@ -1,6 +1,7 @@
import { schemas } from '@0xproject/json-schemas';
import { ECSignature, Provider, SignatureType, ValidatorSignature } from '@0xproject/types';
import { ECSignature, SignatureType, ValidatorSignature } from '@0xproject/types';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { Provider } from 'ethereum-types';
import * as ethUtil from 'ethereumjs-util';
import * as _ from 'lodash';

View File

@@ -1,7 +1,7 @@
import { web3Factory } from '@0xproject/dev-utils';
import { JSONRPCErrorCallback, JSONRPCRequestPayload } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import { JSONRPCErrorCallback, JSONRPCRequestPayload } from 'ethereum-types';
import * as _ from 'lodash';
import 'make-promises-safe';
import 'mocha';

View File

@@ -1,6 +1,6 @@
import { devConstants, web3Factory } from '@0xproject/dev-utils';
import { Provider } from '@0xproject/types';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { Provider } from 'ethereum-types';
const provider: Provider = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true });
const web3Wrapper = new Web3Wrapper(provider);