DefinitelyTyped/types/express-brute-mongo/index.d.ts
2017-10-22 15:22:50 -07:00

16 lines
498 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
// TypeScript Version: 2.3
import { Collection } from "mongodb";
/**
* @summary MongoDB store adapter.
*/
declare class MongoStore {
constructor(getCollection: (collection: (c: Collection) => void) => void, options?: Object);
}
export = MongoStore;