aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 23:00:07 +0800
committerFabio Berger <me@fabioberger.com>2018-07-18 23:00:07 +0800
commit30afd39129fdcc4b5a5c945fcd9b72e79c5ca336 (patch)
tree3ef6de64a3449ffb9b8853160cbb642ea76e9809
parent29d5034260b2e3b4b670d856463ed34377bff3ac (diff)
downloaddexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.gz
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.bz2
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.lz
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.xz
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.zst
dexon-0x-contracts-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.zip
Fix 0x.js ts warnings
-rw-r--r--packages/0x.js/src/0x.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts
index 385ba76b5..7c06a53af 100644
--- a/packages/0x.js/src/0x.ts
+++ b/packages/0x.js/src/0x.ts
@@ -17,7 +17,10 @@ import {
MessagePrefixOpts,
orderHashUtils,
} from '@0xproject/order-utils';
-import { ECSignature, Order, SignedOrder } from '@0xproject/types';
+// HACK: Since we export assetDataUtils from ZeroEx and it has AssetProxyId, ERC20AssetData and ERC721AssetData
+// in it's public interface, we need to import these types here.
+// tslint:disable-next-line:no-unused-variable
+import { AssetProxyId, ECSignature, ERC20AssetData, ERC721AssetData, Order, SignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { Provider, TransactionReceiptWithDecodedLogs } from 'ethereum-types';