#Array field get inferred as type never[]
3 messages · Page 1 of 1 (latest)
Open a bug and please include a minimal reproduction and we'll take a look
just to make sure, since I think this is a part of a larger issue - the types don't get inferred from zod schema at all, since if I remove the type cast in default values I can pass anything I want and it will be inferred as the type of that object instead of the zod schema shape