DefinitelyTyped/types/pg
Ian Liu Rodrigues f0af8db482 [pg] Client.query now accepts Submittables
This commit creates a new interface on @types/pg called Submittable
following the description on node-postgres API doc, which says:

> client.query with a Submittable
>
> If you pass an object to client.query and the object has a .submit
> function on it, the client will pass it's PostgreSQL server connection
> to the object and delegate query dispatching to the supplied object
> [...]

and uses the new interface as argument type to Client.query and
Pool.query. This allows the usage of pg-copy-streams package.
2018-06-27 09:52:19 -03:00
..
v6
index.d.ts
pg-tests.ts
tsconfig.json
tslint.json