Skip to content

Commit 34fe355

Browse files
test docs
1 parent 3e3f856 commit 34fe355

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

src/mongo_client.ts

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export interface MongoClientOptions extends BSONSerializeOptions, SupportedNodeC
169169
tlsInsecure?: boolean;
170170
/** The time in milliseconds to attempt a connection before timing out. */
171171
connectTimeoutMS?: number;
172+
someNewOption?: boolean;
172173
/** The time in milliseconds to attempt a send or receive on a socket before the attempt times out. */
173174
socketTimeoutMS?: number;
174175
/** An array or comma-delimited string of compressors to enable network compression for communication between this client and a mongod/mongos instance. */
@@ -1060,39 +1061,39 @@ configureResourceManagement(MongoClient.prototype);
10601061
*/
10611062
export interface MongoOptions
10621063
extends Required<
1063-
Pick<
1064-
MongoClientOptions,
1065-
| 'autoEncryption'
1066-
| 'connectTimeoutMS'
1067-
| 'directConnection'
1068-
| 'driverInfo'
1069-
| 'forceServerObjectId'
1070-
| 'minHeartbeatFrequencyMS'
1071-
| 'heartbeatFrequencyMS'
1072-
| 'localThresholdMS'
1073-
| 'maxConnecting'
1074-
| 'maxIdleTimeMS'
1075-
| 'maxPoolSize'
1076-
| 'minPoolSize'
1077-
| 'monitorCommands'
1078-
| 'noDelay'
1079-
| 'pkFactory'
1080-
| 'raw'
1081-
| 'replicaSet'
1082-
| 'retryReads'
1083-
| 'retryWrites'
1084-
| 'serverSelectionTimeoutMS'
1085-
| 'socketTimeoutMS'
1086-
| 'srvMaxHosts'
1087-
| 'srvServiceName'
1088-
| 'tlsAllowInvalidCertificates'
1089-
| 'tlsAllowInvalidHostnames'
1090-
| 'tlsInsecure'
1091-
| 'waitQueueTimeoutMS'
1092-
| 'zlibCompressionLevel'
1093-
>
1094-
>,
1095-
SupportedNodeConnectionOptions {
1064+
Pick<
1065+
MongoClientOptions,
1066+
| 'autoEncryption'
1067+
| 'connectTimeoutMS'
1068+
| 'directConnection'
1069+
| 'driverInfo'
1070+
| 'forceServerObjectId'
1071+
| 'minHeartbeatFrequencyMS'
1072+
| 'heartbeatFrequencyMS'
1073+
| 'localThresholdMS'
1074+
| 'maxConnecting'
1075+
| 'maxIdleTimeMS'
1076+
| 'maxPoolSize'
1077+
| 'minPoolSize'
1078+
| 'monitorCommands'
1079+
| 'noDelay'
1080+
| 'pkFactory'
1081+
| 'raw'
1082+
| 'replicaSet'
1083+
| 'retryReads'
1084+
| 'retryWrites'
1085+
| 'serverSelectionTimeoutMS'
1086+
| 'socketTimeoutMS'
1087+
| 'srvMaxHosts'
1088+
| 'srvServiceName'
1089+
| 'tlsAllowInvalidCertificates'
1090+
| 'tlsAllowInvalidHostnames'
1091+
| 'tlsInsecure'
1092+
| 'waitQueueTimeoutMS'
1093+
| 'zlibCompressionLevel'
1094+
>
1095+
>,
1096+
SupportedNodeConnectionOptions {
10961097
appName?: string;
10971098
hosts: HostAddress[];
10981099
srvHost?: string;

0 commit comments

Comments
 (0)