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