Skip to content

Commit 4e186e0

Browse files
committed
whoops forgot on SessionArgsAndOptions
1 parent f83f573 commit 4e186e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/convex-helpers/react/sessions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export type SessionArgsAndOptions<
9898
> = keyof FunctionArgs<Fn> extends "sessionId"
9999
? [args?: EmptyObject, options?: Options]
100100
: Partial<ArgsWithoutSession<Fn>> extends ArgsWithoutSession<Fn>
101-
? [args: ArgsWithoutSession<Fn>, options?: Options]
101+
? [args?: ArgsWithoutSession<Fn>, options?: Options]
102102
: [args: ArgsWithoutSession<Fn>, options?: Options];
103103

104104
type SessionPaginatedQueryFunction<

0 commit comments

Comments
 (0)