@types/connect-redis
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -13,7 +13,7 @@ // Type definitions for connect-redis | ||
declare module 'connect-redis' { | ||
import * as express from 'express'; | ||
import * as session from 'express-session'; | ||
import * as ioRedis from 'ioredis'; | ||
import * as redis from 'redis'; | ||
declare module "connect-redis" { | ||
import * as express from "express"; | ||
import * as session from "express-session"; | ||
import * as ioRedis from "ioredis"; | ||
import * as redis from "redis"; | ||
@@ -25,3 +25,3 @@ function s(options: (options?: session.SessionOptions) => express.RequestHandler): s.RedisStore; | ||
interface RedisStore extends session.Store { | ||
new (options: RedisStoreOptions): RedisStore; | ||
new(options: RedisStoreOptions): RedisStore; | ||
client: Client; | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "@types/connect-redis", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "TypeScript definitions for connect-redis", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-redis", | ||
}, | ||
"typesPublisherContentHash": "4c2a0686188e555f67df9da5cfcb2709424e5ea46a8c5a072133be0eba6f91f7", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "07de769df7246ed2bcfc12e79b9c6bb2fecb988b1a79081a245d8662201f4e23", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -23,7 +23,7 @@ # Installation | ||
declare module 'connect-redis' { | ||
import * as express from 'express'; | ||
import * as session from 'express-session'; | ||
import * as ioRedis from 'ioredis'; | ||
import * as redis from 'redis'; | ||
declare module "connect-redis" { | ||
import * as express from "express"; | ||
import * as session from "express-session"; | ||
import * as ioRedis from "ioredis"; | ||
import * as redis from "redis"; | ||
@@ -35,3 +35,3 @@ function s(options: (options?: session.SessionOptions) => express.RequestHandler): s.RedisStore; | ||
interface RedisStore extends session.Store { | ||
new (options: RedisStoreOptions): RedisStore; | ||
new(options: RedisStoreOptions): RedisStore; | ||
client: Client; | ||
@@ -68,3 +68,3 @@ } | ||
### Additional Details | ||
* Last updated: Sun, 12 Feb 2023 22:02:38 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:41:08 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/express-session](https://npmjs.com/package/@types/express-session), [@types/ioredis](https://npmjs.com/package/@types/ioredis), [@types/redis](https://npmjs.com/package/@types/redis) | ||
@@ -71,0 +71,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7253