Skip to content

Commit

Permalink
feat: release
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan committed Apr 17, 2023
1 parent 64b79d8 commit be0e0c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ type UndefinedKeys<T extends object> = {
};

// This utility creates an output validator that has
// { type: "success", data: successData } or { type: "clientError", data: clientErrorData }
// { type: "success", data: successData }
// or
// { type: "clientError", data: clientErrorData }
export const createMutationOutputValidator = <
SuccessData extends z.AnyZodObject,
ClientErrorData extends z.AnyZodObject
Expand Down

0 comments on commit be0e0c4

Please sign in to comment.