fix types

This commit is contained in:
wobsoriano
2023-04-14 13:05:53 -07:00
parent fb5723b071
commit 08125cbf0c

View File

@@ -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
},