From 28ea779c1d69f425c12d0cbeaac773bbebec18c5 Mon Sep 17 00:00:00 2001 From: nikeee13 Date: Thu, 29 Aug 2013 00:10:12 +0200 Subject: [PATCH] Rename DBOptions -> DbCreateOptions --- mongodb/mongodb.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongodb/mongodb.d.ts b/mongodb/mongodb.d.ts index 444ae662a7..23ecc33d7e 100644 --- a/mongodb/mongodb.d.ts +++ b/mongodb/mongodb.d.ts @@ -23,7 +23,7 @@ declare module "mongodb" { // Class documentation : http://mongodb.github.io/node-mongodb-native/api-generated/db.html export class Db { - constructor (databaseName: string, serverConfig: Server, dbOptions?: DBOptions); + constructor (databaseName: string, serverConfig: Server, dbOptions?: DbCreateOptions); public db(dbName: string): Db; @@ -153,7 +153,7 @@ declare module "mongodb" { // See : http://mongodb.github.io/node-mongodb-native/api-generated/db.html // Current definition by documentation version 1.3.13 (28.08.2013) - export interface DBOptions { + 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;