From 9f319d3c5b2e348283554aeb0832d56500544f4e Mon Sep 17 00:00:00 2001 From: Arkadiusz Filipczak Date: Fri, 26 Sep 2014 06:43:14 +0200 Subject: [PATCH] DbCreateOptions' w property should accept numbers --- mongodb/mongodb.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/mongodb.d.ts b/mongodb/mongodb.d.ts index 05f71d20ae..ce79324ec2 100644 --- a/mongodb/mongodb.d.ts +++ b/mongodb/mongodb.d.ts @@ -178,7 +178,7 @@ declare module "mongodb" { // Current definition by documentation version 1.3.13 (28.08.2013) export interface DbCreateOptions { // the write concern for the operation where < 1 is no acknowlegement of write and w >= 1, w = ‘majority’ or tag acknowledges the write. - w?: string; + w?: any; // set the timeout for waiting for write concern to finish (combines with w option). wtimeout?: number;