Skip to content

Commit

Permalink
types(model): add missing strict and timestamps options to bulkWrite(…
Browse files Browse the repository at this point in the history
…) re: #8778
  • Loading branch information
vkarpov15 committed Jan 2, 2024
1 parent f37b4f2 commit e3c12cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ declare module 'mongoose' {

interface MongooseBulkWriteOptions {
skipValidation?: boolean;
strict?: boolean;
timestamps?: boolean | 'throw';
}

interface InsertManyOptions extends
Expand Down

0 comments on commit e3c12cf

Please sign in to comment.