mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #11184 from aleung/types-2.0
[types-2.0] Port pg 6.1.0 types update to types-2.0 branch
This commit is contained in:
+1
-4
@@ -4,7 +4,4 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="pg" />
|
||||
|
||||
declare module "pg-pool" {
|
||||
export {Pool, PoolConfig} from "pg";
|
||||
}
|
||||
export {Pool, PoolConfig} from "pg";
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="pg-pool.d.ts" />
|
||||
import {Pool} from "pg-pool";
|
||||
|
||||
let pool = new Pool()
|
||||
@@ -39,4 +38,4 @@ pool.query('SELECT $1::text as name', ['brianc'], function (err, res) {
|
||||
console.log(res.rows[0].name) // brianc
|
||||
})
|
||||
|
||||
pool.end();
|
||||
pool.end();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"pg-pool.d.ts",
|
||||
"index.d.ts",
|
||||
"pg-pool-tests.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for pg
|
||||
// Type definitions for pg 6.1.0
|
||||
// Project: https://github.com/brianc/node-postgres
|
||||
// Definitions by: Phips Peter <http://pspeter3.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
Reference in New Issue
Block a user