diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index db3920c1a3..5c9f459b82 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -143,7 +143,7 @@ export interface ClientSession extends EventEmitter { * @param fn Function to execute with the new session. * @param options Optional settings for the transaction */ - withTransaction(fn: WithTransactionCallback, options?: TransactionOptions): Promise; + withTransaction(fn: WithTransactionCallback, options?: TransactionOptions): Promise; } // http://mongodb.github.io/node-mongodb-native/3.1/api/global.html#ReadConcern