From 9c23fc88e060d16e9747445a9f211451f63b8b16 Mon Sep 17 00:00:00 2001 From: kriptonian1 Date: Tue, 17 Dec 2024 22:17:25 +0530 Subject: [PATCH] fix: type inference --- packages/api-client/src/core/response-parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api-client/src/core/response-parser.ts b/packages/api-client/src/core/response-parser.ts index 0d616d7d..866beb33 100644 --- a/packages/api-client/src/core/response-parser.ts +++ b/packages/api-client/src/core/response-parser.ts @@ -17,7 +17,7 @@ export async function parseResponse( success: false, data: null, error - } as ClientResponse + } as unknown as ClientResponse } let data: any = null @@ -30,5 +30,5 @@ export async function parseResponse( success: true, data, error: null - } as ClientResponse + } as unknown as ClientResponse }