(factory: (z: typeof zod4) => T)
| 4 | |
| 5 | export { zod3, zod4, zodNext }; |
| 6 | export function makeSchema<T>(factory: (z: typeof zod4) => T) { |
| 7 | return { |
| 8 | zod3: factory(zod3 as any) as T, |
| 9 | zod4: factory(zod4 as any) as T, |
| 10 | // zod4Ts: factory(zodNewTs as any), |
| 11 | }; |
| 12 | } |
| 13 | |
| 14 | export function randomString(length: number): string { |
| 15 | const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; |
no outgoing calls
no test coverage detected