Closed danwsong closed 1 year ago
The TypeScript Zod generator currently converts strings with the date-time format to zod.string(). This modifies the generator to emit zod.coerce.date() instead, matching the TypeScript Flow generator.
date-time
zod.string()
zod.coerce.date()
Thank you!
The TypeScript Zod generator currently converts strings with the
date-time
format tozod.string()
. This modifies the generator to emitzod.coerce.date()
instead, matching the TypeScript Flow generator.