Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/convex-helpers/browser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { BetterOmit, EmptyObject } from "./index.js";
import type { ConvexClient } from "convex/browser";
import type { ConvexClient, ConvexHttpClient } from "convex/browser";
import type { FunctionArgs, FunctionReturnType } from "convex/server";
import type { FunctionReference } from "convex/server";
import type { Value } from "convex/values";
Expand Down Expand Up @@ -30,7 +30,7 @@ export type ArgsArray<
* @returns { query, mutation, action } functions with the injected arguments
*/
export function withArgs<A extends Record<string, Value>>(
client: ConvexClient,
client: ConvexClient | ConvexHttpClient,
injectedArgs: A,
) {
return {
Expand Down
Loading