import of drizzle-orm makes typescript complain about missing "document"

I'm using drizzle with the qwik framework. When import anything from drizzle-orm, typescript complains about document to be unavailable (see attached image). Without the import, everything works as expected. Is there any way to fix this?
No description
No description
4 Replies
Angelelz
Angelelz12mo ago
Does the quik framework infers drizzle as a server only package? I'm not familiar but that seems like something to look into.
Nishant Shrestha
Nishant Shrestha12mo ago
did you find an solutions regarding this? @rtzrtz. @Angelelz.
rtzrtz.
rtzrtz.OP12mo ago
@Nishant Shrestha nope, unfortunately not
Nishant Shrestha
Nishant Shrestha12mo ago
Oh okay, I speculation was that drizzles ts config is messing with next js project ts config but still couldn't solve the issue.
Want results from more Discord servers?
Add your server