Skip to content

Commit e3c12cf

Browse files
committed
types(model): add missing strict and timestamps options to bulkWrite() re: #8778
1 parent f37b4f2 commit e3c12cf

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
@@ -17,6 +17,8 @@ declare module 'mongoose' {
1717

1818
interface MongooseBulkWriteOptions {
1919
skipValidation?: boolean;
20+
strict?: boolean;
21+
timestamps?: boolean | 'throw';
2022
}
2123

2224
interface InsertManyOptions extends

0 commit comments

Comments
 (0)