mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
fix types
This commit is contained in:
@@ -70,6 +70,7 @@ export function httpBatchLink<TRouter extends AnyRouter>(opts?: HttpBatchLinkOpt
|
||||
|
||||
return _httpBatchLink<TRouter>({
|
||||
url: '/api/trpc',
|
||||
// @ts-expect-error: Missing property from batchLink. Fix this later.
|
||||
headers () {
|
||||
return headers
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user