@types/koa-redis
@types/koa-redis
npm i @types/koa-redis
@types/koa-redis

@types/koa-redis

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

4.0.2 (see all)License:MITTypeScript:Built-In
npm i @types/koa-redis
Readme

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.

Downloads/wk

53.1K

GitHub Stars

40.9K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

635

OPEN PRs

200
VersionTagPublished
4.0.2
latest
10mos ago
4.0.2
ts4.7
10mos ago
4.0.2
ts4.6
10mos ago
4.0.2
ts4.8
10mos ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate