From a1ab5cd45f0217ef199368d506f5371b253d6451 Mon Sep 17 00:00:00 2001 From: Matt Richardson Date: Wed, 18 Jan 2017 15:53:28 -0500 Subject: [PATCH] [mssql] Add support for all connection config options (#14087) * Add support for all connection config options * Edit version notation in header --- mssql/index.d.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mssql/index.d.ts b/mssql/index.d.ts index 9d4d09a5f0..8aaca045e2 100644 --- a/mssql/index.d.ts +++ b/mssql/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for mssql v3.1.0 +// Type definitions for mssql 3.3 // Project: https://www.npmjs.com/package/mssql -// Definitions by: COLSA Corporation , Ben Farr , Vitor Buzinaro +// Definitions by: COLSA Corporation , Ben Farr , Vitor Buzinaro , Matt Richardson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -113,7 +113,13 @@ export declare var ISOLATION_LEVEL: { } export interface IOptions { - encrypt: boolean; + encrypt?: boolean; + instanceName?: string; + useUTC?: boolean; + tdsVersion?: string; + appName?: string; + abortTransactionOnError?: boolean; + trustedConnection?: boolean; }