fix linter configuration & jest type dependency

This commit is contained in:
tiagosiebler
2023-02-17 13:51:40 +00:00
parent 7669c037c8
commit 8e54ecbaf5
34 changed files with 1600 additions and 1710 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
export interface PaginatedResult<TList = any> {
nextPageCursor: string;
list: TList[];

View File

@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export interface UMPaginatedResult<List = any> {
nextPageCursor: string;
category: string;

View File

@@ -251,6 +251,7 @@ export interface RiskLimitV5 {
riskLimitValue: string;
maintenanceMargin: number;
initialMargin: number;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
section: any;
isLowestRisk: 0 | 1;
maxLeverage: string;

View File

@@ -1,7 +1,7 @@
import {
LeverageTokenStatusV5,
LTOrderStatusV5,
LTOrderTypeV5,
LeverageTokenStatusV5,
} from '../v5-shared';
export interface LeverageTokenInfoV5 {