Skip to content

Commit 943b8b2

Browse files
authored
Merge pull request #1517 from cweijan/patch-3
Add minVersion for ssl option.
2 parents dadef38 + 0cf4e8d commit 943b8b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

typings/mysql/lib/Connection.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ declare namespace Connection {
221221
* You can also connect to a MySQL server without properly providing the appropriate CA to trust. You should not do this.
222222
*/
223223
rejectUnauthorized?: boolean;
224+
225+
/**
226+
* Configure the minimum supported version of SSL, the default is TLSv1.2.
227+
*/
228+
minVersion?: string;
224229
}
225230
}
226231

0 commit comments

Comments
 (0)