aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src
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/src
parent475bb2845d674b81ba970517f3d53c774cc1562e (diff)
downloaddexon-0x-contracts-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.gz
dexon-0x-contracts-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.tar.zst
dexon-0x-contracts-61d9e418e8dcb768537a5d2f124be8c7f65e5cdd.zip
Fix linter issues in generated contract wrappers
Diffstat (limited to 'packages/abi-gen/src')
-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}`);