From 10e2d4b99cc9d06ff9aa22dbff1050edf47a593e Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 27 Feb 2018 10:38:12 -0800 Subject: Remove unused param --- packages/0x.js/src/contract_wrappers/generated/base_contract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3