Monorepo drizzle-zod types problem

I have a monorepo with packages like drizzle-schema and api-contracts
No description
4 Replies
👾Rnbsov
👾RnbsovOP5mo ago
so in drizzle schema I also declare validation schems
No description
👾Rnbsov
👾RnbsovOP5mo ago
there, their types are correct
No description
👾Rnbsov
👾RnbsovOP5mo ago
but when I import them in api-contracts package their types get broken strings and number become some strange type z.ZodType<Buffer, unknown>;
No description
👾Rnbsov
👾RnbsovOP5mo ago
@Ling Mai Jiānguǒ sir, could you please help me on this one please

Did you find this page helpful?