File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff 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 */
7271type 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
7876export type SessionQueryArgsArray < Fn extends SessionFunction < "query" > > =
7977 keyof FunctionArgs < Fn > extends "sessionId"
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const SessionIdArg = { sessionId: vSessionId };
7171
7272type SessionFunction <
7373 T extends "query" | "mutation" | "action" ,
74- Args extends any = any ,
74+ Args = any ,
7575> = FunctionReference <
7676 T ,
7777 "public" | "internal" ,
You can’t perform that action at this time.
0 commit comments