diff --git a/index.d.ts b/index.d.ts index 8efa159..e8bf52a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,12 +50,12 @@ declare namespace fastifyPostgres { export function transact( fn: (client: Pg.PoolClient) => Promise ): Promise; - + export function transact( fn: (client: Pg.PoolClient) => Promise, cb: (error: Error | null, result?: TResult) => void ): void; - + export const fastifyPostgres: FastifyPostgres export { fastifyPostgres as default } }