mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
pg.d.ts: add support to pg-types
This commit is contained in:
Vendored
+4
@@ -85,4 +85,8 @@ declare module "pg" {
|
||||
public on(event: "error", listener: (err: Error, client: Client) => void): this;
|
||||
public on(event: string, listener: Function): this;
|
||||
}
|
||||
|
||||
namespace types {
|
||||
function setTypeParser(oid: number, fn: (val: string) => any): void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user