Skip to content

Commit 0410819

Browse files
authored
🤖 Merge PR DefinitelyTyped#74889 types/mssql - Add validateConnection to connection settings by @dangowans
1 parent 5af12e9 commit 0410819

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎types/mssql/index.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export interface config {
209209
pool?: PoolOpts<Connection> | undefined;
210210
arrayRowMode?: boolean | undefined;
211211
authentication?: tds.ConnectionAuthentication | undefined;
212+
validateConnection?: "socket" | boolean | undefined;
212213
/**
213214
* Invoked before opening the connection. The parameter conn is the configured
214215
* tedious Connection. It can be used for attaching event handlers.

‎types/mssql/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/mssql",
4-
"version": "9.1.9999",
4+
"version": "12.3.9999",
55
"projects": [
66
"https://www.npmjs.com/package/mssql"
77
],

0 commit comments

Comments
 (0)