4.0.5 • Published 2 years ago
@types/koa-redis v4.0.5
Installation
npm install --save @types/koa-redis
Summary
This package contains type definitions for koa-redis (https://github.com/koajs/koa-redis).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-redis.
index.d.ts
// Type definitions for koa-redis 4.0
// Project: https://github.com/koajs/koa-redis
// Definitions by: Nick Simmons <https://github.com/nsimmons>
// Scotland Stephenson <https://github.com/alsoscotland>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { ClientOpts } from 'redis';
import { stores } from 'koa-session';
declare namespace redisStore {
interface RedisOptions extends ClientOpts {
duplicate?: boolean | undefined;
client?: any;
}
interface RedisSessionStore extends stores {
client: any;
}
}
declare function redisStore(options: redisStore.RedisOptions): redisStore.RedisSessionStore;
export = redisStore;
Additional Details
- Last updated: Thu, 09 Dec 2021 09:01:23 GMT
- Dependencies: @types/redis, @types/koa-session
- Global values: none
Credits
These definitions were written by Nick Simmons, and Scotland Stephenson.