Feature/parallel booking availability (#3087)
This commit is contained in:
1 parent
7599f2384e
commit
2d28ca61a4
21 files changed
+242
-121
No files matched your search
@@ -101,7 +101,13 @@ type TError = TRPCClientErrorLike<AppRouter>;
|
||||
|
||||
const withQuery = <TPath extends keyof TQueryValues & string>(
|
||||
pathAndInput: [path: TPath, ...args: inferHandlerInput<TQueries[TPath]>],
|
||||
params?: UseTRPCQueryOptions<TPath, TQueryValues[TPath]["input"], TQueryValues[TPath]["output"], TError>
|
||||
params?: UseTRPCQueryOptions<
|
||||
TPath,
|
||||
TQueryValues[TPath]["input"],
|
||||
TQueryValues[TPath]["output"],
|
||||
TQueryValues[TPath]["output"],
|
||||
TError
|
||||
>
|
||||
) => {
|
||||
return function WithQuery(
|
||||
opts: Omit<
|
||||
|
||||
Reference in new issue
Block a user