4.0.5 • Published 2 years ago

@types/koa-redis v4.0.5

Weekly downloads
14,017
License
MIT
Repository
github
Last release
2 years ago

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

Credits

These definitions were written by Nick Simmons, and Scotland Stephenson.

4.0.5

2 years ago

4.0.4

2 years ago

4.0.3

2 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

6 years ago

3.0.3

6 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago