From 12b201b9c3bd906f1eea7b192d05ce6074fbf358 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Tue, 29 Sep 2015 10:46:21 +0200 Subject: [PATCH] refactor: Fix definitelytyped reference for mongodb remove function --- typings/DefinitelyTyped/mongodb/mongodb.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/DefinitelyTyped/mongodb/mongodb.d.ts b/typings/DefinitelyTyped/mongodb/mongodb.d.ts index c11f497..91e741e 100644 --- a/typings/DefinitelyTyped/mongodb/mongodb.d.ts +++ b/typings/DefinitelyTyped/mongodb/mongodb.d.ts @@ -305,7 +305,7 @@ declare module "mongodb" { insertMany(docs: any[], options: { w?: any; wtimeout?: number; j?: boolean; serializeFunctions?: boolean; forceServerObjectId?: boolean }, callback: (err: Error, result: any) => void): void; remove(selector: Object, callback?: (err: Error, result: any) => void): void; - remove(selector: Object, options: { safe?: any; single?: boolean; }, callback?: (err: Error, result: any) => void): void; + remove(selector: Object, options: { safe?: any; single?: boolean; w?: string | number; }, callback?: (err: Error, result: any) => void): void; rename(newName: String, callback?: (err: Error, result: any) => void): void;