From e213806fb26695b305a66254aba6063923141938 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Sun, 28 Oct 2018 16:26:56 -0700 Subject: [PATCH] [mongodb] Make arrayFilters optional. --- types/mongodb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index e7405ca7ef..ab4d2f4c02 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -1368,7 +1368,7 @@ export interface UpdateOneOptions extends ReplaceOneOptions { /** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#updateMany */ export interface UpdateManyOptions extends CommonOptions { upsert?: boolean; - arrayFilters: Object[]; + arrayFilters?: Object[]; } /** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#~updateWriteOpResult */