From 81c230a6dcda6089e6906d1abe8c2fe840725b44 Mon Sep 17 00:00:00 2001 From: Alex Carpenter Date: Fri, 20 Dec 2024 13:28:00 -0500 Subject: [PATCH] resolve types --- packages/clerk-js/src/ui/contexts/components/SignIn.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/clerk-js/src/ui/contexts/components/SignIn.ts b/packages/clerk-js/src/ui/contexts/components/SignIn.ts index 7af4515690..772345947c 100644 --- a/packages/clerk-js/src/ui/contexts/components/SignIn.ts +++ b/packages/clerk-js/src/ui/contexts/components/SignIn.ts @@ -104,7 +104,7 @@ export const useSignInContext = (): SignInContextType => { const signUpContinueUrl = buildURL({ base: signUpUrl, hashPath: '/continue' }, { stringify: true }); return { - ...ctx, + ...(ctx as SignInCtx), transferable: ctx.transferable ?? true, componentName, signUpUrl, @@ -119,5 +119,5 @@ export const useSignInContext = (): SignInContextType => { queryParams, initialValues: { ...ctx.initialValues, ...initialValuesFromQueryParams }, authQueryString: redirectUrls.toSearchParams().toString(), - }; + } as SignInContextType; };