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](https://cdn.answeroverflow.com/1178728967293898876/Screenshot_2023-11-27_at_17.06.05.jpg)
![No description](https://cdn.answeroverflow.com/1178728967570735175/Screenshot_2023-11-27_at_17.07.19.jpg)
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.