From f38f580021e41527647d4bb085250ac81c7f8161 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Tue, 17 Oct 2023 00:05:32 +0300 Subject: [PATCH] add return type --- src/@utils/accessDetailsAndPricing.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@utils/accessDetailsAndPricing.ts b/src/@utils/accessDetailsAndPricing.ts index 115679722..e45022432 100644 --- a/src/@utils/accessDetailsAndPricing.ts +++ b/src/@utils/accessDetailsAndPricing.ts @@ -256,7 +256,7 @@ export async function getAccessDetails( } } -export function getAvailablePrice(asset: AssetExtended) { +export function getAvailablePrice(asset: AssetExtended): AssetPrice { const price: AssetPrice = asset?.stats?.price?.value ? asset?.stats?.price : {