[mongoose] add useMongoClient in ConnectOpenOptionsBase Interface

This commit is contained in:
SkyAo
2017-06-26 18:22:52 +08:00
parent 0020fcee62
commit 6711c77b2f
+2 -1
View File
@@ -68,6 +68,7 @@ declare module "mongoose" {
pass?: string;
/** Options for authentication */
auth?: any;
useMongoClient?: boolean;
}
export interface ConnectionOptions extends ConnectOpenOptionsBase {
@@ -656,4 +657,4 @@ declare module "mongoose" {
error(err: any): Promise<T>;
}
}
}