mongoose 9.2.2 → 9.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/models.d.ts +1 -1
package/package.json
CHANGED
package/types/models.d.ts
CHANGED
|
@@ -273,7 +273,7 @@ declare module 'mongoose' {
|
|
|
273
273
|
* sending multiple `save()` calls because with `bulkSave()` there is only one
|
|
274
274
|
* network round trip to the MongoDB server.
|
|
275
275
|
*/
|
|
276
|
-
bulkSave(documents: Array<
|
|
276
|
+
bulkSave(documents: Array<THydratedDocumentType>, options?: MongooseBulkSaveOptions): Promise<MongooseBulkWriteResult>;
|
|
277
277
|
|
|
278
278
|
/** Collection the model uses. */
|
|
279
279
|
collection: Collection;
|