drizzle-team / drizzle-team/drizzle-orm
[BUG]: Type completion not working
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### What version of `drizzle-orm` are you using?
0.33.0
### What version of `drizzle-kit` are you using?
0.24.2
### Describe the Bug
const client = drizzle(
new Pool({
connectionString: config.get('database', { infer: true }),
}),
{
schema,
},
);
client.insert(schema.user).values({
// No type completion whatsoever
});
### Expected behavior
const client = drizzle(
new Pool({
connectionString: config.get('database', { infer: true }),
}),
{
schema,
},
);
client.insert(schema.user).values({
// id: string
// email: string
});
### Environment & setup
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.