mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-09 19:50:08 +00:00
Merge pull request #33119 from Clement134/fix/mongoose-sslValidate
Mongoose: fix sslValidate type
This commit is contained in:
2
types/mongoose/index.d.ts
vendored
2
types/mongoose/index.d.ts
vendored
@@ -337,7 +337,7 @@ declare module "mongoose" {
|
||||
/** Use ssl connection (needs to have a mongod server with ssl support) (default: true) */
|
||||
ssl?: boolean;
|
||||
/** Validate mongod server certificate against ca (needs to have a mongod server with ssl support, 2.4 or higher) */
|
||||
sslValidate?: object;
|
||||
sslValidate?: boolean;
|
||||
/** Number of connections in the connection pool for each server instance, set to 5 as default for legacy reasons. */
|
||||
poolSize?: number;
|
||||
/** Reconnect on error (default: true) */
|
||||
|
||||
Reference in New Issue
Block a user