Skip to content

Commit 353e56e

Browse files
authored
Fix HttpsCallable return type.
1 parent ab62148 commit 353e56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/useHttpsCallable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { useMemo, useState } from 'react';
77

88
export type HttpsCallableHook<RequestData = unknown, ResponseData = unknown> = [
9-
(data?: RequestData) => Promise<HttpsCallableResult<ResponseData> | unknown>,
9+
(data?: RequestData) => Promise<HttpsCallableResult<ResponseData> | undefined>,
1010
boolean,
1111
Error | undefined
1212
];

0 commit comments

Comments
 (0)