db0 icon indicating copy to clipboard operation
db0 copied to clipboard

Type issue with integrations

Open Barbapapazes opened this issue 7 months ago • 3 comments

Environment

"db0": "^0.1.4", "drizzle-orm": "^0.31.2"

[email protected]

Reproduction

Write import { drizzle } from "db0/integrations/drizzle"; in any project and the IDE will tell you that types does not exists.

Describe the bug

Hey,

I'm trying to use this integration: https://db0.unjs.io/integrations/drizzle but my IDE complains about types.

Screenshot 2024-07-04 at 19 51 48

While trying to understand why this could happens, it seems to be an issue with the compilation step where the ../../types does not exists anymore since every thing move to dist except integrations and connectors because of mkdist.

Screenshot 2024-07-04 at 19 45 46

Additional context

No response

Logs

No response

Barbapapazes avatar Jul 04 '24 17:07 Barbapapazes