Skip to content

Commit 386f16e

Browse files
committed
more lint fixes
1 parent a1d2551 commit 386f16e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/convex-helpers/react/sessions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ const SessionContext = React.createContext<{
6868
ssrFriendly?: boolean;
6969
} | null>(null);
7070

71-
/* eslint-disable @typescript-eslint/no-unnecessary-type-constraint */
7271
type SessionFunction<
7372
T extends "query" | "mutation" | "action",
7473
Args = any,
7574
> = FunctionReference<T, "public", { sessionId: SessionId } & Args>;
76-
/* eslint-enable @typescript-eslint/no-unnecessary-type-constraint */
7775

7876
export type SessionQueryArgsArray<Fn extends SessionFunction<"query">> =
7977
keyof FunctionArgs<Fn> extends "sessionId"

packages/convex-helpers/server/sessions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const SessionIdArg = { sessionId: vSessionId };
7171

7272
type SessionFunction<
7373
T extends "query" | "mutation" | "action",
74-
Args extends any = any,
74+
Args = any,
7575
> = FunctionReference<
7676
T,
7777
"public" | "internal",

0 commit comments

Comments
 (0)