Closed russelldias98 closed 6 months ago
import { neon } from '@neondatabase/serverless'; import { drizzle } from 'drizzle-orm/neon-http'; const sql = neon(process.env.DATABASE_URL!); const db = drizzle(sql);
No errors and neon function to work
'neon' cannot be used as a value because it was exported using 'export type'.ts(1362) index.d.mts(1, 1): 'neon' was exported here.
I've just had a similar report offline. Must be related to yesterday's release of 0.7. This is the first thing on my list today.
Should be fixed in 0.7.1. Do let me know if not.
@jawj works like a charm!
Steps to reproduce
Expected result
No errors and neon function to work
Actual result
Environment