We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af6a66 commit fa78749Copy full SHA for fa78749
turbo/generators/templates/create-adapter/src/__tests__/example.ts.hbs
@@ -0,0 +1,13 @@
1
+import {initTRPC} from '@trpc/server';
2
+
3
+import {wrap} from '..';
4
5
+const schema = $FixMe;
6
7
+const t = initTRPC.create();
8
+const appRouter = t.router({
9
+ hello: t.procedure
10
+ .input(wrap(schema))
11
+ .query(({input}) => `Hello, ${input.name}!`),
12
+ // ^? {name: string}
13
+});
0 commit comments