Open oceandrama opened 1 year ago
@oceandrama this desicion was made to partly satisfy my OCD and to find specific kinds of types easier. I'don't know if the nesting has any downsides other than the additional folders but for me it seemd to be a bit more structured.
Now, if you are using config like this:
it creates
shared/api/zod.ts
folder andindex.ts
file inside. Maybe it would be simpler to create justshared/api/zod.ts
file to reduce nesting