From 5e932276e78751ef43540bf698b596806f6af12e Mon Sep 17 00:00:00 2001 From: Kirill Litvinov Date: Tue, 28 Nov 2023 07:24:42 +0500 Subject: [PATCH] fix: types --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 0e9b681..c72f377 100644 --- a/src/types.ts +++ b/src/types.ts @@ -197,13 +197,13 @@ export type SwapInfoBase = { } | undefined alternatives: SwapInfoAlternative[] assetsNameMapping?: Partial> | undefined - usdInfo?: { + usdInfo: { availableAmountIn: number availableAmountOut: number | undefined marketAmountOut: number marketAmountIn: number | undefined difference: string | undefined - } + } | undefined } export type SwapInfoByAmountIn = SwapInfoBase & {