Skip to content

Commit

Permalink
Merge pull request #14239 from Automattic/vkarpov15/gh-14234
Browse files Browse the repository at this point in the history
types(model): add missing `strict` property to `bulkWrite()` top level options
  • Loading branch information
vkarpov15 committed Jan 7, 2024
2 parents 62223bf + 2f599b9 commit 3d4274e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/models.d.ts
Expand Up @@ -27,11 +27,12 @@ declare module 'mongoose' {
skipValidation?: boolean;
throwOnValidationError?: boolean;
timestamps?: boolean;
strict?: boolean | 'throw';
}

interface MongooseBulkWritePerWriteOptions {
timestamps?: boolean;
strict?: boolean;
strict?: boolean | 'throw';
session?: ClientSession;
skipValidation?: boolean;
}
Expand Down

0 comments on commit 3d4274e

Please sign in to comment.