Files
DefinitelyTyped/types/koa-redis/index.d.ts
T
AndyandGitHub 954ee278de Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00

19 lines
568 B
TypeScript

// Type definitions for koa-redis 3.0
// Project: https://github.com/koajs/koa-redis
// Definitions by: Nick Simmons <https://github.com/nsimmons>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { ClientOpts } from 'redis';
import { SessionStore } from 'koa-generic-session';
declare namespace redisStore {
interface RedisOptions extends ClientOpts {
duplicate?: boolean;
client?: any;
}
}
declare function redisStore(options: redisStore.RedisOptions): SessionStore;
export = redisStore;