mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #19668 from andrew8er/feature/pg_notice_is_alias_of_error
[pg] Event "notice" is an alias of "error", not "notification"
This commit is contained in:
Vendored
+2
-2
@@ -116,8 +116,8 @@ export class Client extends events.EventEmitter {
|
||||
resumeDrain(): void;
|
||||
|
||||
on(event: "drain", listener: () => void): this;
|
||||
on(event: "error", listener: (err: Error) => void): this;
|
||||
on(event: "notification" | "notice", listener: (message: Notification) => void): this;
|
||||
on(event: "error" | "notice", listener: (err: Error) => void): this;
|
||||
on(event: "notification", listener: (message: Notification) => void): this;
|
||||
// tslint:disable-next-line unified-signatures
|
||||
on(event: "end", listener: () => void): this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user