drizzle-zod 0.6.1 has errors on each createXyzSchema

Hey everyone,

Does anyone know how to handle this error:
The inferred type of 'selectWorkspacesSchema' cannot be named without a reference to '../node_modules/drizzle-zod/schema.types.internal.mjs'. This is likely not portable. A type annotation is necessary. ts(2742)


I'm getting it on createSelectSchema(table), createUpdateSchema(table) and createInsertSchema(table)

Thanks!
Was this page helpful?