diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-09 00:16:28 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-09 00:16:28 +0800 |
commit | 655c71a46b9e3ad82380efe6b37e9140ecc130cf (patch) | |
tree | 81cb70133a95540dff5abade6a4a646a2efc3bb6 /src | |
parent | 80b76e58172313e396c81c719bd46094b9491b84 (diff) | |
download | dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.gz dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.bz2 dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.lz dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.xz dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.tar.zst dexon-sol-tools-655c71a46b9e3ad82380efe6b37e9140ecc130cf.zip |
add comment explaining the use of any
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 972e11b8c..46613af77 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -298,6 +298,7 @@ export class ExchangeWrapper extends ContractWrapper { ]; }); + // We use _.unzip<any> because _.unzip doesn't type check if values have different types :'( const [orderAddresses, orderValues, fillTakerAmounts, vParams, rParams, sParams] = _.unzip<any>(orderAddressesValuesAndTakerTokenFillAmounts); |