UEA-Prodem
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import { Operation, TRPCLink } from "./types.d-Dmmedc5G.cjs";
|
||||
import { AnyRouter } from "@trpc/server/unstable-core-do-not-import";
|
||||
|
||||
//#region src/links/splitLink.d.ts
|
||||
declare function splitLink<TRouter extends AnyRouter = AnyRouter>(opts: {
|
||||
condition: (op: Operation) => boolean;
|
||||
/**
|
||||
* The link to execute next if the test function returns `true`.
|
||||
*/
|
||||
true: TRPCLink<TRouter> | TRPCLink<TRouter>[];
|
||||
/**
|
||||
* The link to execute next if the test function returns `false`.
|
||||
*/
|
||||
false: TRPCLink<TRouter> | TRPCLink<TRouter>[];
|
||||
}): TRPCLink<TRouter>;
|
||||
//# sourceMappingURL=splitLink.d.ts.map
|
||||
|
||||
//#endregion
|
||||
export { splitLink };
|
||||
//# sourceMappingURL=splitLink.d-BBFK_mCw.d.cts.map
|
||||
Reference in New Issue
Block a user