diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-28 07:28:26 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:11 +0800 |
commit | f479212410b238a7673983148f403b3a220083af (patch) | |
tree | 4d3ebe1ee98ec0a03b8eb99275878f5cc2062123 /packages/utils/src/abi_encoder/evm_data_type_factory.ts | |
parent | ffb8b0a619be3b8fb30a6acc99f590a6b40d49e1 (diff) | |
download | dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar.gz dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar.bz2 dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar.lz dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar.xz dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.tar.zst dexon-0x-contracts-f479212410b238a7673983148f403b3a220083af.zip |
Style cleanup. Improved wording of some error messages.
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_type_factory.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_type_factory.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_type_factory.ts b/packages/utils/src/abi_encoder/evm_data_type_factory.ts index 16a0b724d..bc68e05b7 100644 --- a/packages/utils/src/abi_encoder/evm_data_type_factory.ts +++ b/packages/utils/src/abi_encoder/evm_data_type_factory.ts @@ -1,6 +1,4 @@ -/* tslint:disable prefer-function-over-method */ /* tslint:disable max-classes-per-file */ -/* tslint:disable no-construct */ import { DataItem, MethodAbi } from 'ethereum-types'; import * as _ from 'lodash'; @@ -73,6 +71,7 @@ export class Method extends Impl.Method { } } +/* tslint:disable no-construct */ export class EvmDataTypeFactory implements DataTypeFactory { private static _instance: DataTypeFactory; @@ -83,6 +82,7 @@ export class EvmDataTypeFactory implements DataTypeFactory { return EvmDataTypeFactory._instance; } + /* tslint:disable prefer-function-over-method */ public create(dataItem: DataItem, parentDataType?: DataType): DataType { // Create data type let dataType: undefined | DataType; @@ -114,6 +114,8 @@ export class EvmDataTypeFactory implements DataTypeFactory { } return dataType; } + /* tslint:enable prefer-function-over-method */ private constructor() {} } +/* tslint:enable no-construct */ |