From e8fb82f5dba11ca130ad312ace13ebee2b280a13 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 31 Jan 2024 16:45:02 +0100 Subject: [PATCH] fix type issue --- packages/core/src/utils/CoreHelperUtil.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/utils/CoreHelperUtil.ts b/packages/core/src/utils/CoreHelperUtil.ts index 1201e7569c..54472a8dd0 100644 --- a/packages/core/src/utils/CoreHelperUtil.ts +++ b/packages/core/src/utils/CoreHelperUtil.ts @@ -196,8 +196,8 @@ export const CoreHelperUtil = { return 'Unknown error' }, sortRequestedNetworks( - approvedIds?: `${string}:${string}`[], - requestedNetworks?: CaipNetwork[] + approvedIds: `${string}:${string}`[] | undefined, + requestedNetworks: CaipNetwork[] = [] ): CaipNetwork[] { const approvedIndexMap: Record = {}