From e3c12cf722b5ba2b016a05bfad14935b0eb9bfc6 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Tue, 2 Jan 2024 15:58:40 -0500 Subject: [PATCH] types(model): add missing strict and timestamps options to bulkWrite() re: #8778 --- types/models.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/models.d.ts b/types/models.d.ts index 7131a4dfcf7..1a02fd8a202 100644 --- a/types/models.d.ts +++ b/types/models.d.ts @@ -17,6 +17,8 @@ declare module 'mongoose' { interface MongooseBulkWriteOptions { skipValidation?: boolean; + strict?: boolean; + timestamps?: boolean | 'throw'; } interface InsertManyOptions extends