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?4 Replies
Does the quik framework infers drizzle as a server only package? I'm not familiar but that seems like something to look into.
did you find an solutions regarding this? @rtzrtz. @Angelelz.
@Nishant Shrestha nope, unfortunately not
Oh okay, I speculation was that drizzles ts config is messing with next js project ts config but still couldn't solve the issue.