Skip to content

Commit c2e8f60

Browse files
committed
Merge remote-tracking branch 'origin/main' into deps
2 parents 1089e95 + 540ee8d commit c2e8f60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ import {createCli} from 'trpc-cli'
909909
import {z} from 'zod'
910910

911911
export const router = os.router({
912-
add: os.procedure
912+
add: os
913913
.input(z.object({left: z.number(), right: z.number()}))
914914
.handler(({input}) => input.left + input.right),
915915
})
@@ -927,7 +927,7 @@ import {z} from 'zod'
927927

928928
export const router = os.router({
929929
real: {
930-
add: os.procedure
930+
add: os
931931
.input(z.object({left: z.number(), right: z.number()}))
932932
.handler(({input}) => input.left + input.right),
933933
},
@@ -1257,4 +1257,4 @@ The only dependency is [`commander`](https://npmjs.com/package/commander), for p
12571257

12581258
### Testing
12591259

1260-
[`vitest`](https://npmjs.com/package/vitest) is used for testing. The tests consists of the example fixtures from this readme, executed as CLIs via a subprocess. Avoiding mocks this way ensures fully realistic outputs (the tradeoff being test-speed, but they're acceptably fast for now).
1260+
[`vitest`](https://npmjs.com/package/vitest) is used for testing. The tests consists of the example fixtures from this readme, executed as CLIs via a subprocess. Avoiding mocks this way ensures fully realistic outputs (the tradeoff being test-speed, but they're acceptably fast for now).

0 commit comments

Comments
 (0)