Open Southclaws opened 2 years ago
https://github.com/colinhacks/zod#recursive-types
The code should generate like this, which means the code needs to not only generate x: z.string()
for the zod structure but also x: string;
for the forward interface declaration.
Simple one, just needs a lookup table of what's already been processed.
Or
etc