aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-compiler')
-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);