Skip to content

Commit

Permalink
fix(drizzle): postgresJSClient function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Mar 12, 2024
1 parent 22df7e3 commit 028ef28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { PergelGlobalContextOmitModule } from '#pergel/types'
export async function postgresJSClient(this: PergelGlobalContextOmitModule, params: {
pgOptions?: PostgresJSOptions
context?: PergelGlobalContextOmitModule
}) {
}): Promise<ReturnType<typeof postgres>> {
const context = params.context ?? this

if (!context || !context.projectName)
Expand Down

0 comments on commit 028ef28

Please sign in to comment.