aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/test/optimizer_abis.ts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-11-21 03:35:16 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-11-29 08:38:11 +0800
commit62e6b22789b349dda7885d3317c76c90ecb3c882 (patch)
tree75725c6a0287330745ab1aecc95ce25bbb6ee21c /packages/utils/test/optimizer_abis.ts
parent0ed1819143fa82163502fb412bcb5ed44c041456 (diff)
downloaddexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.gz
dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.tar.zst
dexon-sol-tools-62e6b22789b349dda7885d3317c76c90ecb3c882.zip
Fixed linter errors on tests
Diffstat (limited to 'packages/utils/test/optimizer_abis.ts')
-rw-r--r--packages/utils/test/optimizer_abis.ts57
1 files changed, 29 insertions, 28 deletions
diff --git a/packages/utils/test/optimizer_abis.ts b/packages/utils/test/optimizer_abis.ts
index ea562e5b5..7cfd7a118 100644
--- a/packages/utils/test/optimizer_abis.ts
+++ b/packages/utils/test/optimizer_abis.ts
@@ -1,6 +1,7 @@
+/* tslint:disable max-file-line-count */
import { MethodAbi } from 'ethereum-types';
-export const duplicateDynamicArraysWithStaticElements = {
+export const duplicateDynamicArraysWithStaticElements: MethodAbi = {
constant: false,
inputs: [
{
@@ -17,9 +18,9 @@ export const duplicateDynamicArraysWithStaticElements = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateDynamicArraysWithDynamicElements = {
+export const duplicateDynamicArraysWithDynamicElements: MethodAbi = {
constant: false,
inputs: [
{
@@ -36,9 +37,9 @@ export const duplicateDynamicArraysWithDynamicElements = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateStaticArraysWithStaticElements = {
+export const duplicateStaticArraysWithStaticElements: MethodAbi = {
constant: false,
inputs: [
{
@@ -55,9 +56,9 @@ export const duplicateStaticArraysWithStaticElements = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateStaticArraysWithDynamicElements = {
+export const duplicateStaticArraysWithDynamicElements: MethodAbi = {
constant: false,
inputs: [
{
@@ -74,9 +75,9 @@ export const duplicateStaticArraysWithDynamicElements = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateArrayElements = {
+export const duplicateArrayElements: MethodAbi = {
constant: false,
inputs: [
{
@@ -89,9 +90,9 @@ export const duplicateArrayElements = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateTupleFields = {
+export const duplicateTupleFields: MethodAbi = {
constant: false,
inputs: [
{
@@ -114,9 +115,9 @@ export const duplicateTupleFields = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateStrings = {
+export const duplicateStrings: MethodAbi = {
constant: false,
inputs: [
{
@@ -133,9 +134,9 @@ export const duplicateStrings = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateBytes = {
+export const duplicateBytes: MethodAbi = {
constant: false,
inputs: [
{
@@ -152,9 +153,9 @@ export const duplicateBytes = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateTuples = {
+export const duplicateTuples: MethodAbi = {
constant: false,
inputs: [
{
@@ -191,9 +192,9 @@ export const duplicateTuples = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateArraysNestedInTuples = {
+export const duplicateArraysNestedInTuples: MethodAbi = {
constant: false,
inputs: [
{
@@ -226,9 +227,9 @@ export const duplicateArraysNestedInTuples = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateTuplesNestedInTuples = {
+export const duplicateTuplesNestedInTuples: MethodAbi = {
constant: false,
inputs: [
{
@@ -273,9 +274,9 @@ export const duplicateTuplesNestedInTuples = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const duplicateTwoDimensionalArrays = {
+export const duplicateTwoDimensionalArrays: MethodAbi = {
constant: false,
inputs: [
{
@@ -292,9 +293,9 @@ export const duplicateTwoDimensionalArrays = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const arrayElementsDuplicatedAsSeparateParameter = {
+export const arrayElementsDuplicatedAsSeparateParameter: MethodAbi = {
constant: false,
inputs: [
{
@@ -311,9 +312,9 @@ export const arrayElementsDuplicatedAsSeparateParameter = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};
-export const arrayElementsDuplicatedAsTupleFields = {
+export const arrayElementsDuplicatedAsTupleFields: MethodAbi = {
constant: false,
inputs: [
{
@@ -336,4 +337,4 @@ export const arrayElementsDuplicatedAsTupleFields = {
payable: false,
stateMutability: 'nonpayable',
type: 'function',
-} as MethodAbi;
+};