We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74c954a commit 485e4feCopy full SHA for 485e4fe
src/mongo_client.ts
@@ -281,7 +281,6 @@ export type WithSessionCallback = (session: ClientSession) => Promise<any>;
281
/** @internal */
282
export interface MongoClientPrivate {
283
url: string;
284
- readonly userOptions: MongoClientOptions | undefined;
285
bsonOptions: BSONSerializeOptions;
286
namespace: MongoDBNamespace;
287
hasBeenClosed: boolean;
@@ -373,7 +372,6 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> {
373
372
// The internal state
374
this.s = {
375
url,
376
- userOptions: options,
377
bsonOptions: resolveBSONOptions(this[kOptions]),
378
namespace: ns('admin'),
379
hasBeenClosed: false,
0 commit comments