aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 23:00:07 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-18 23:06:05 +0800
commit7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5 (patch)
tree6930ef151031cd3c57dec7b9a6168d4a9db5923a
parent41699406cf51d5f0de1652ea308bc68ac20a5452 (diff)
downloaddexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar.gz
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar.bz2
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar.lz
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar.xz
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.tar.zst
dexon-sol-tools-7c0775aa1b08de8c626e7b9aad0b3ca1a3d3c7b5.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';