DbCreateOptions' w property should accept numbers

This commit is contained in:
Arkadiusz Filipczak
2014-09-26 06:43:14 +02:00
parent fe50484fda
commit 9f319d3c5b

View File

@@ -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;