mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add connect to Server
This commit is contained in:
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