Skip to content

Commit 5ac950e

Browse files
committed
types(models): add missing per bulk write options
1 parent aaa6269 commit 5ac950e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/models.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ declare module 'mongoose' {
3232
interface MongooseBulkWritePerWriteOptions {
3333
timestamps?: boolean;
3434
strict?: boolean;
35+
session?: ClientSession;
36+
skipValidation?: boolean;
3537
}
3638

3739
interface InsertManyOptions extends

0 commit comments

Comments
 (0)