Skip to content

Commit f3424be

Browse files
committed
rebase fixes
1 parent b228f44 commit f3424be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cmap/wire_protocol/command.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ import type { Server } from '../../sdam/server';
99
import type { Topology } from '../../sdam/topology';
1010
import type { ReadPreferenceLike } from '../../read_preference';
1111
import type { WriteCommandOptions } from './write_command';
12+
import type { WriteConcernOptions } from '../../write_concern';
1213

1314
/** @public */
14-
export interface CommandOptions extends BSONSerializeOptions {
15+
export interface CommandOptions extends BSONSerializeOptions, WriteConcernOptions {
16+
// FIXME: NODE-2781
1517
command?: boolean;
1618
slaveOk?: boolean;
1719
/** Specify read preference if command supports it */

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export type {
294294
MongoDBNamespace,
295295
InterruptableAsyncInterval
296296
} from './utils';
297-
export type { WriteConcern, W, WriteConcernOptions } from './write_concern';
297+
export type { WriteConcern, W, WriteConcernOptions, WriteConcernSettings } from './write_concern';
298298
export type { ExecutionResult } from './operations/execute_operation';
299299
export type { InternalAbstractCursorOptions } from './cursor/abstract_cursor';
300300
export type {

0 commit comments

Comments
 (0)