mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
* Update `TypeScript Version`s to be at least as high as dependencies' versions * Run through again
19 lines
568 B
TypeScript
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;
|