Skip to content

Commit

Permalink
update log handler
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Mar 10, 2023
1 parent 9ef569e commit 9740e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg-promise",
"version": "11.4.0",
"version": "11.4.1",
"description": "PostgreSQL interface for Node.js",
"main": "lib/index.js",
"typings": "typescript/pg-promise.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion typescript/pg-subset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ declare namespace pg {

end(cb: (err: Error) => any): any;

log: () => void;
log: (msg: string, err?: any) => void;

readonly options: { [name: string]: any }; // connection options

Expand Down

0 comments on commit 9740e66

Please sign in to comment.