perf: Use built types for appRouter (#20083)
* perf: Use built types for appRouter * Got it working just for server * Added dependency to turbo.json
This commit is contained in:
1 parent
3b381b037c
commit
587af33179
10 files changed
+16
-13
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import type { AppRouter } from "@calcom/trpc/server/routers/_app";
|
||||
import type { AppRouter } from "@calcom/trpc/types/server/routers/_app";
|
||||
|
||||
import { createTRPCReact } from "@trpc/react-query";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import { useState } from "react";
|
||||
import superjson from "superjson";
|
||||
|
||||
import { ENDPOINTS } from "@calcom/trpc/react/shared";
|
||||
import type { AppRouter } from "@calcom/trpc/server/routers/_app";
|
||||
import type { AppRouter } from "@calcom/trpc/types/server/routers/_app";
|
||||
|
||||
import { httpBatchLink, httpLink, loggerLink, splitLink, TRPCClientError } from "@trpc/client";
|
||||
|
||||
|
||||
Reference in new issue
Block a user