mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
22 lines
578 B
TypeScript
22 lines
578 B
TypeScript
// Type definitions for express-brute-mongo
|
|
// Project: https://github.com/auth0/express-brute-mongo
|
|
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
|
|
|
|
|
|
/**
|
|
* @summary MongoDB store adapter.
|
|
* @class
|
|
*/
|
|
export = class MongoStore {
|
|
/**
|
|
* @summary Constructor.
|
|
* @constructor
|
|
* @param {Function} getCollection The collection.
|
|
* @param {Object} options The otpions.
|
|
*/
|
|
constructor(getCollection: (collection: any) => void, options?: Object);
|
|
}
|