Skip to content

Instantly share code, notes, and snippets.

@esamattis
Last active January 12, 2023 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esamattis/d38e1260733c99c19585dafb861a7259 to your computer and use it in GitHub Desktop.
Save esamattis/d38e1260733c99c19585dafb861a7259 to your computer and use it in GitHub Desktop.
tRPC local / test link for testing
const client = createTRPCProxyClient<CLIRouterType>({
links: [
createTestLink({
headers: myCreateHeadersFn,
router: TheTrpcRouter,
}),
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment