lint warnings

This commit is contained in:
Dexter 2022-03-31 16:30:52 +01:00
parent 6439fe79da
commit 8284537273
5 changed files with 6 additions and 7 deletions

View File

@ -1,11 +1,5 @@
import { Block } from './block'; import { Block } from './block';
import { import { render, screen, waitFor } from '@testing-library/react';
fireEvent,
render,
screen,
waitFor,
act,
} from '@testing-library/react';
import { MemoryRouter, Route, Routes } from 'react-router-dom'; import { MemoryRouter, Route, Routes } from 'react-router-dom';
import { Routes as RouteNames } from '../../router-config'; import { Routes as RouteNames } from '../../router-config';

View File

@ -34,6 +34,7 @@ export interface Data {
} }
export interface Evidence { export interface Evidence {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
evidence: any[]; evidence: any[];
} }

View File

@ -34,6 +34,7 @@ export interface TransactionData {
} }
export interface Evidence { export interface Evidence {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
evidence: any[]; evidence: any[];
} }
@ -67,6 +68,7 @@ export interface Block {
export interface ResultBeginBlock {} export interface ResultBeginBlock {}
export interface ResultEndBlock { export interface ResultEndBlock {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
validator_updates?: any; validator_updates?: any;
} }

View File

@ -11,6 +11,7 @@ export interface Event {
export interface TxResult { export interface TxResult {
code: number; code: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any; data?: any;
log: string; log: string;
info: string; info: string;

View File

@ -11,6 +11,7 @@ export interface Event {
export interface TxResult { export interface TxResult {
code: number; code: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any; data?: any;
log: string; log: string;
info: string; info: string;