Skip to content

Commit

Permalink
refactor: rename clientError to clientErrorData in `createMutatio…
Browse files Browse the repository at this point in the history
…nOutputValidator`
  • Loading branch information
TheEdoRan committed Apr 16, 2023
1 parent 4e97dd0 commit 302a3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export const createMutationOutputValidator = <
ClientErrorData extends z.AnyZodObject
>({
successData,
clientError: clientErrorData,
clientErrorData,
}: {
successData: SuccessData;
clientError: ClientErrorData;
clientErrorData: ClientErrorData;
}) =>
z
.object({ type: z.literal("success"), data: successData })
Expand Down

0 comments on commit 302a3e7

Please sign in to comment.