Skip to content

Commit 8866037

Browse files
committed
readme
1 parent 6cfb2ce commit 8866037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Having the return value of workflows depend on other Convex functions can lead t
349349
`internal.foo.bar` way of specifying functions. The way to fix this is to explicitly type the return value of the
350350
workflow. When in doubt, add return types to more `handler` functions, like this:
351351

352-
```ts
352+
```diff
353353
export const supportAgentWorkflow = workflow.define({
354354
args: { prompt: v.string(), userId: v.string(), threadId: v.string() },
355355
+ handler: async (step, { prompt, userId, threadId }): Promise<string> => {

0 commit comments

Comments
 (0)