diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-18 23:00:07 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-18 23:00:07 +0800 |
commit | 30afd39129fdcc4b5a5c945fcd9b72e79c5ca336 (patch) | |
tree | 3ef6de64a3449ffb9b8853160cbb642ea76e9809 /packages/0x.js | |
parent | 29d5034260b2e3b4b670d856463ed34377bff3ac (diff) | |
download | dexon-sol-tools-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.gz dexon-sol-tools-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.tar.zst dexon-sol-tools-30afd39129fdcc4b5a5c945fcd9b72e79c5ca336.zip |
Fix 0x.js ts warnings
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/src/0x.ts | 5 |
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'; |