Skip to content

Commit

Permalink
fix(next): omit "fetch" from options (trpc#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecuvii committed Nov 8, 2023
1 parent 13122a7 commit 4fa201c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/app-dir/links/nextHttp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type NextFetchLinkOptions<TBatch extends boolean> = (TBatch extends true
export function experimental_nextHttpLink<
TRouter extends AnyRouter,
TBatch extends boolean,
>(opts: NextFetchLinkOptions<TBatch>): TRPCLink<TRouter> {
>(opts: Omit<NextFetchLinkOptions<TBatch>, 'fetch'>): TRPCLink<TRouter> {
return (runtime) => {
return (ctx) => {
const { path, input, context } = ctx.op;
Expand Down

0 comments on commit 4fa201c

Please sign in to comment.