Skip to content

Commit

Permalink
chore(useConnectQuery): add FirebaseError as default Error
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanBahati committed Dec 7, 2024
1 parent d3ae0fc commit b25ac40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/data-connect/useConnectQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
executeQuery,
} from "firebase/data-connect";

type UseConnectQueryOptions<TData = unknown, TError = Error> = Omit<
type UseConnectQueryOptions<TData = unknown, TError = FirebaseError> = Omit<
UseQueryOptions<TData, TError>,
"queryFn"
>;
Expand Down

0 comments on commit b25ac40

Please sign in to comment.