aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src/utils.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-07 02:17:13 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-07 02:17:13 +0800
commit58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da (patch)
tree76d90e84e57cf65d7bbb1159cbdf73c3537b493e /packages/abi-gen/src/utils.ts
parentd97184880ceac6215ce50916a29f4cb01bbfc63f (diff)
parent49049b8c126c779d68934eaceb6835ebf3a24a49 (diff)
downloaddexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar.gz
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar.bz2
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar.lz
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar.xz
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.tar.zst
dexon-sol-tools-58603e2a5a06f6bccfb5b6d2d12732ee6f0e69da.zip
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/improve-linting
Diffstat (limited to 'packages/abi-gen/src/utils.ts')
-rw-r--r--packages/abi-gen/src/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/abi-gen/src/utils.ts b/packages/abi-gen/src/utils.ts
index a46209dad..66390174c 100644
--- a/packages/abi-gen/src/utils.ts
+++ b/packages/abi-gen/src/utils.ts
@@ -56,7 +56,7 @@ export const utils = {
const componentType = `${component.name}: ${componentValueType}`;
return componentType;
});
- const tsType = `{${componentsType}}`;
+ const tsType = `{${componentsType.join(';')}}`;
return tsType;
}
throw new Error(`Unknown Solidity type found: ${solType}`);