aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-18 01:23:06 +0800
committerFabio Berger <me@fabioberger.com>2018-10-18 01:23:06 +0800
commitbdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295 (patch)
treef76f4ec6147580eb1dd5d70207c8360e7e2f5413 /packages/sol-compiler/src
parent87fabbb943779d868d29c437f078a341cb177b2b (diff)
downloaddexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.gz
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.bz2
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.lz
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.xz
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.tar.zst
dexon-sol-tools-bdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295.zip
chore: tslint fix
Diffstat (limited to 'packages/sol-compiler/src')
-rw-r--r--packages/sol-compiler/src/utils/encoder.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/sol-compiler/src/utils/encoder.ts b/packages/sol-compiler/src/utils/encoder.ts
index 6527304d6..40b103fd5 100644
--- a/packages/sol-compiler/src/utils/encoder.ts
+++ b/packages/sol-compiler/src/utils/encoder.ts
@@ -7,6 +7,7 @@ export const encoder = {
const constructorTypes: string[] = [];
_.each(abi, (element: AbiDefinition) => {
if (element.type === AbiType.Constructor) {
+ // tslint:disable-next-line:no-unnecessary-type-assertion
const constuctorAbi = element as ConstructorAbi;
_.each(constuctorAbi.inputs, (input: DataItem) => {
constructorTypes.push(input.type);