diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-07 18:18:53 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-07 18:18:53 +0800 |
commit | 0fc981400442e4c567ca363bdf0f4c03ba87473d (patch) | |
tree | ee19dfb9dcd9c631fa4138326b9d639a7fc7374e /packages/abi-gen/src/utils.ts | |
parent | e617da3bbf650b25c29df33cd12e23c994efe674 (diff) | |
parent | e0bc01eea1c20e0afda296f331c6a475e062b59c (diff) | |
download | dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar.gz dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar.bz2 dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar.lz dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar.xz dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.tar.zst dexon-sol-tools-0fc981400442e4c567ca363bdf0f4c03ba87473d.zip |
merge v2-prototype
Diffstat (limited to 'packages/abi-gen/src/utils.ts')
-rw-r--r-- | packages/abi-gen/src/utils.ts | 2 |
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}`); |