diff --git a/src/sessions.ts b/src/sessions.ts index 5c90b35d35..69e598e2c1 100644 --- a/src/sessions.ts +++ b/src/sessions.ts @@ -45,8 +45,11 @@ export interface ClientSessionOptions { /** The default TransactionOptions to use for transactions started on this session. */ defaultTransactionOptions?: TransactionOptions; - owner: symbol | AbstractCursor; + /** @internal */ + owner?: symbol | AbstractCursor; + /** @internal */ explicit?: boolean; + /** @internal */ initialClusterTime?: ClusterTime; } @@ -70,7 +73,7 @@ class ClientSession extends EventEmitter { clusterTime?: ClusterTime; operationTime?: Timestamp; explicit: boolean; - owner: symbol | AbstractCursor; + owner?: symbol | AbstractCursor; defaultTransactionOptions: TransactionOptions; transaction: Transaction; [kServerSession]?: ServerSession;