From ba372b251e4df7c0da47a2b24e57bc8fac02b0f7 Mon Sep 17 00:00:00 2001 From: penrico Date: Fri, 2 Mar 2018 11:40:40 +0100 Subject: [PATCH] InsertWriteOpResult of mongodb updated --- 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 dd4f44f38a..099c164605 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -1070,7 +1070,7 @@ export interface FindOneOptions { export interface InsertWriteOpResult { insertedCount: number; ops: Array; - insertedIds: Array; + insertedIds: {[key: number]: ObjectID}; connection: any; result: { ok: number, n: number } }