Skip to content

Commit 485e4fe

Browse files
committed
rm: userOptions
1 parent 74c954a commit 485e4fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mongo_client.ts

-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ export type WithSessionCallback = (session: ClientSession) => Promise<any>;
281281
/** @internal */
282282
export interface MongoClientPrivate {
283283
url: string;
284-
readonly userOptions: MongoClientOptions | undefined;
285284
bsonOptions: BSONSerializeOptions;
286285
namespace: MongoDBNamespace;
287286
hasBeenClosed: boolean;
@@ -373,7 +372,6 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> {
373372
// The internal state
374373
this.s = {
375374
url,
376-
userOptions: options,
377375
bsonOptions: resolveBSONOptions(this[kOptions]),
378376
namespace: ns('admin'),
379377
hasBeenClosed: false,

0 commit comments

Comments
 (0)