aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-05 08:25:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-07 01:11:51 +0800
commit61d9e418e8dcb768537a5d2f124be8c7f65e5cdd (patch)
treefbc58e601cfa779db0f38c4794da1cf3916a231a /packages/abi-gen
parent475bb2845d674b81ba970517f3d53c774cc1562e (diff)
downloaddexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.gz
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.bz2
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.lz
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.xz
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.zst
dexon-sol-tools-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.zip
Fix linter issues in generated contract wrappers
Diffstat (limited to 'packages/abi-gen')
-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}`);