mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-27 10:00:33 +00:00
11 lines
270 B
TypeScript
11 lines
270 B
TypeScript
import * as connectRedis from "connect-redis";
|
|
import * as session from "express-session";
|
|
|
|
let RedisStore = connectRedis(session);
|
|
const store = new RedisStore({
|
|
host: 'localhost',
|
|
port: 6379,
|
|
logErrors: error => console.warn(error),
|
|
scanCount: 80,
|
|
});
|