We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16070b commit 0e82f25Copy full SHA for 0e82f25
example/trpc/client.ts
@@ -5,6 +5,6 @@ import { type AppRouter } from "./router";
5
6
const url = "http://localhost:3000/api/trpc";
7
8
-export const clientTrpc = createTrpcQueryClient<AppRouter>({
+export const clientTrpc: ReturnType<typeof createTrpcQueryClient<AppRouter>> = createTrpcQueryClient<AppRouter>({
9
url,
10
});
tsconfig.json
@@ -10,7 +10,7 @@
"forceConsistentCasingInFileNames": true,
11
"noEmit": true,
12
"esModuleInterop": true,
13
- "module": "preserve",
+ "module": "esnext",
14
"moduleResolution": "bundler",
15
"resolveJsonModule": true,
16
"isolatedModules": true,
0 commit comments