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 @@ -21,7 +21,7 @@ import { asPrintable } from './enums';
2121import { assertArgsDefinedType , shallowClone } from './helpers' ;
2222import { BulkWriteResult } from './result' ;
2323import type { CollectionWithSchema } from './collection' ;
24- import type { MQLQuery } from './mql-types' ;
24+ import type { MQLDocument , MQLQuery } from './mql-types' ;
2525
2626@shellApiClassDefault
2727export class BulkFindOp extends ShellApiWithMongoClass {
@@ -210,7 +210,7 @@ export default class Bulk extends ShellApiWithMongoClass {
210210
211211 @returnType ( 'Bulk' )
212212 @apiVersions ( [ 1 ] )
213- insert ( document : Document ) : Bulk {
213+ insert ( document : MQLDocument ) : Bulk {
214214 this . _batchCounts . nInsertOps ++ ;
215215 assertArgsDefinedType ( [ document ] , [ true ] , 'Bulk.insert' ) ;
216216 this . _serviceProviderBulkOp . insert ( document ) ;
You can’t perform that action at this time.
0 commit comments