Skip to content

Commit 302f835

Browse files
committed
improve
1 parent 78d6850 commit 302f835

File tree

1 file changed

+2
-2
lines changed
  • packages/convex-helpers/server

1 file changed

+2
-2
lines changed

packages/convex-helpers/server/zod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ export type ZodValidator = Record<string, z.ZodTypeAny>;
5757
* Creates a validator for a Convex `Id`.
5858
*
5959
* - When **used within Zod**, it will only check that the ID is a string.
60-
* - When **converted to a Convex validator** (through `zodToConvex`),
60+
* - When **converted to a Convex validator** (e.g. through {@link zodToConvex}),
6161
* it will check that it's for the right table.
6262
*
63-
* @param tableName - The table that the `Id` references. i.e.` Id<tableName>`
63+
* @param tableName - The table that the `Id` references. i.e. `Id<tableName>`
6464
* @returns A Zod object representing a Convex `Id`
6565
*/
6666
export const zid = <

0 commit comments

Comments
 (0)