Issue with types

I'm getting a typeerror here that looks like this. When i use @ts-ignore the code runs and executes as intended with the proper database output.

I tried troubleshooting by making sure all my drizzle packages are on the same version (they are). I don't want to litter my codebase with @ts-ignore, so is there a way around this?

Project setup
drizzle-kit and orm installed on beta
monorepo setup. Schema and relations defined in "shared" module. drizzle client instantiated in "api" module using the exported relations.
image.png
Was this page helpful?