mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-14 21:20:39 +00:00
ClientConfig.ssl: TlsOptions -> ConnectionOptions
according to: https://github.com/brianc/node-postgres/blob/6b8176e841584b76bcbd1972bf95e50558ba7395/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:
Vendored
+2
-2
@@ -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