File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { MongoError } from '../error' ;
22import { defineAspects , Aspect , AbstractOperation } from './operation' ;
3- import { CommandOperation } from ' ./command' ;
3+ import { CommandOperation , CommandOperationOptions } from " ./command" ;
44import { prepareDocs } from './common_functions' ;
55import type { Callback , MongoDBNamespace } from '../utils' ;
66import type { Server } from '../sdam/server' ;
@@ -46,7 +46,7 @@ export class InsertOperation extends CommandOperation<Document> {
4646}
4747
4848/** @public */
49- export interface InsertOneOptions extends BSONSerializeOptions , WriteConcernOptions {
49+ export interface InsertOneOptions extends CommandOperationOptions {
5050 /** Allow driver to bypass schema validation in MongoDB 3.2 or higher. */
5151 bypassDocumentValidation ?: boolean ;
5252 /** Force server to assign _id values instead of driver. */
You can’t perform that action at this time.
0 commit comments