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?
Screenshot_2023-11-27_at_17.06.05.jpg
Screenshot_2023-11-27_at_17.07.19.jpg
Was this page helpful?