aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 02:38:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 04:07:06 +0800
commit10e2d4b99cc9d06ff9aa22dbff1050edf47a593e (patch)
tree45d6534549ae12abb243227fd0f9fbbf6e69eec6
parentef40cb96876cb77e897be441ceff1ca1521dc682 (diff)
downloaddexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar.gz
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar.bz2
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar.lz
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar.xz
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.tar.zst
dexon-0x-contracts-10e2d4b99cc9d06ff9aa22dbff1050edf47a593e.zip
Remove unused param
-rw-r--r--packages/0x.js/src/contract_wrappers/generated/base_contract.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/generated/base_contract.ts b/packages/0x.js/src/contract_wrappers/generated/base_contract.ts
index a465ddc38..9086fe7b3 100644
--- a/packages/0x.js/src/contract_wrappers/generated/base_contract.ts
+++ b/packages/0x.js/src/contract_wrappers/generated/base_contract.ts
@@ -32,7 +32,7 @@ export class BaseContract {
const trailingArrayRegex = /\[\d*\]$/;
if (type.match(trailingArrayRegex)) {
const arrayItemType = type.replace(trailingArrayRegex, '');
- return _.map(values, (value: any, i: number) =>
+ return _.map(values, value =>
this._transformTypedData(arrayItemType, value, transformation),
);
} else {