mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Rename DBOptions -> DbCreateOptions
This commit is contained in:
1 parent
4f4de5f25f
commit
28ea779c1d
1 file changed
+2
-2
Vendored
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user