mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-07 10:40:13 +00:00
ClientConfig.ssl: TlsOptions -> ConnectionOptions
according to:
6b8176e841/lib/connection.js (L97)
and node.js documentation of tls.connect(), this parameter must be of type ConnectionOptions and not TlsOptions
This commit is contained in:
4
types/pg/index.d.ts
vendored
4
types/pg/index.d.ts
vendored
@@ -29,10 +29,10 @@ export interface Defaults extends ConnectionConfig {
|
||||
parseInt8?: boolean;
|
||||
}
|
||||
|
||||
import { TlsOptions } from "tls";
|
||||
import { ConnectionOptions } from "tls";
|
||||
|
||||
export interface ClientConfig extends ConnectionConfig {
|
||||
ssl?: boolean | TlsOptions;
|
||||
ssl?: boolean | ConnectionOptions;
|
||||
}
|
||||
|
||||
export interface PoolConfig extends ClientConfig {
|
||||
|
||||
Reference in New Issue
Block a user