Skip to content

Commit

Permalink
include SSL in postgres connection definition (#3659)
Browse files Browse the repository at this point in the history
  • Loading branch information
samjeffress committed Feb 13, 2020
1 parent 2c206a8 commit b6f2952
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/index.d.ts
Expand Up @@ -13,6 +13,8 @@ import events = require('events');
import stream = require('stream');
import ResultTypes = require('./result');

import { ConnectionOptions } from "tls";

// # Generic type-level utilities

// If T is object then make it a partial otherwise fallback to any
Expand Down Expand Up @@ -1808,6 +1810,7 @@ declare namespace Knex {
statement_timeout?: false | number;
connectionTimeoutMillis?: number;
keepAliveInitialDelayMillis?: number;
ssl?: boolean | ConnectionOptions;
}

type RedshiftConnectionConfig = PgConnectionConfig;
Expand Down

0 comments on commit b6f2952

Please sign in to comment.