Skip to content

Commit

Permalink
rm: userOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Aug 17, 2022
1 parent 74c954a commit 485e4fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mongo_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ export type WithSessionCallback = (session: ClientSession) => Promise<any>;
/** @internal */
export interface MongoClientPrivate {
url: string;
readonly userOptions: MongoClientOptions | undefined;
bsonOptions: BSONSerializeOptions;
namespace: MongoDBNamespace;
hasBeenClosed: boolean;
Expand Down Expand Up @@ -373,7 +372,6 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> {
// The internal state
this.s = {
url,
userOptions: options,
bsonOptions: resolveBSONOptions(this[kOptions]),
namespace: ns('admin'),
hasBeenClosed: false,
Expand Down

0 comments on commit 485e4fe

Please sign in to comment.