From 353e56e8d92cd9f85aa33fef3f75d896c10f0248 Mon Sep 17 00:00:00 2001 From: "sanny.io" <3054653+sanny-io@users.noreply.github.com> Date: Thu, 10 Feb 2022 15:27:04 -0800 Subject: [PATCH] Fix HttpsCallable return type. --- functions/useHttpsCallable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/useHttpsCallable.ts b/functions/useHttpsCallable.ts index ebc0fea..d6ddb5b 100644 --- a/functions/useHttpsCallable.ts +++ b/functions/useHttpsCallable.ts @@ -6,7 +6,7 @@ import { import { useMemo, useState } from 'react'; export type HttpsCallableHook = [ - (data?: RequestData) => Promise | unknown>, + (data?: RequestData) => Promise | undefined>, boolean, Error | undefined ];