mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add connect to Server
This commit is contained in:
1 parent
6f67cf5391
commit
20dcd7154d
1 file changed
+2
Vendored
+2
@@ -17,6 +17,8 @@ declare module "mongodb" {
|
||||
// Class documentation : http://mongodb.github.io/node-mongodb-native/api-generated/server.html
|
||||
export class Server {
|
||||
constructor (host: string, port: number, opts?: ServerOptions);
|
||||
|
||||
public connect();
|
||||
}
|
||||
|
||||
// Class documentation : http://mongodb.github.io/node-mongodb-native/api-generated/db.html
|
||||
|
||||
Reference in new issue
Block a user