diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-21 03:35:16 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:11 +0800 |
commit | 62e6b22789b349dda7885d3317c76c90ecb3c882 (patch) | |
tree | 75725c6a0287330745ab1aecc95ce25bbb6ee21c /packages/utils/test/return_value_abis.ts | |
parent | 0ed1819143fa82163502fb412bcb5ed44c041456 (diff) | |
download | dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.gz dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.bz2 dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.lz dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.xz dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.zst dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.zip |
Fixed linter errors on tests
Diffstat (limited to 'packages/utils/test/return_value_abis.ts')
-rw-r--r-- | packages/utils/test/return_value_abis.ts | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/packages/utils/test/return_value_abis.ts b/packages/utils/test/return_value_abis.ts index 847559dac..ac2124011 100644 --- a/packages/utils/test/return_value_abis.ts +++ b/packages/utils/test/return_value_abis.ts @@ -1,6 +1,7 @@ +/* tslint:disable max-file-line-count */ import { MethodAbi } from 'ethereum-types'; -export const noReturnValues = { +export const noReturnValues: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -8,9 +9,9 @@ export const noReturnValues = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; -export const singleStaticReturnValue = { +export const singleStaticReturnValue: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -23,9 +24,9 @@ export const singleStaticReturnValue = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; -export const multipleStaticReturnValues = { +export const multipleStaticReturnValues: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -42,9 +43,9 @@ export const multipleStaticReturnValues = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; -export const singleDynamicReturnValue = { +export const singleDynamicReturnValue: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -57,9 +58,9 @@ export const singleDynamicReturnValue = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; -export const multipleDynamicReturnValues = { +export const multipleDynamicReturnValues: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -76,9 +77,9 @@ export const multipleDynamicReturnValues = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; -export const mixedStaticAndDynamicReturnValues = { +export const mixedStaticAndDynamicReturnValues: MethodAbi = { constant: false, inputs: [], name: 'simpleFunction', @@ -95,4 +96,4 @@ export const mixedStaticAndDynamicReturnValues = { payable: false, stateMutability: 'nonpayable', type: 'function', -} as MethodAbi; +}; |