mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Updated ClientConfig to accept TlsOptions instead of just boolean (#18117)
This commit is contained in:
committed by
Wesley Wigham
parent
5fb85c244c
commit
ae0493cdc6
4
types/pg/index.d.ts
vendored
4
types/pg/index.d.ts
vendored
@@ -29,8 +29,10 @@ export interface Defaults extends ConnectionConfig {
|
||||
parseInt8?: boolean;
|
||||
}
|
||||
|
||||
import { TlsOptions } from "tls";
|
||||
|
||||
export interface ClientConfig extends ConnectionConfig {
|
||||
ssl?: boolean;
|
||||
ssl?: boolean | TlsOptions;
|
||||
}
|
||||
|
||||
export interface PoolConfig extends ClientConfig {
|
||||
|
||||
Reference in New Issue
Block a user