File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- import Fastify , { FastifyPlugin } from 'fastify' ;
1+ import { FastifyPluginCallback } from 'fastify' ;
22import { Redis , RedisOptions } from 'ioredis' ;
33
44declare module 'fastify' {
@@ -9,6 +9,6 @@ declare module 'fastify' {
99
1010export type FastifyRedisPlugin = RedisOptions & { url ?: string } | { client : Redis }
1111
12- declare const fastifyRedis : FastifyPlugin < FastifyRedisPlugin > ;
12+ declare const fastifyRedis : FastifyPluginCallback < FastifyRedisPlugin > ;
1313
1414export default fastifyRedis ;
Original file line number Diff line number Diff line change 3030 },
3131 "homepage" : " https://github.com/fastify/fastify-redis#readme" ,
3232 "devDependencies" : {
33- "@types/ioredis" : " ^4.0.18 " ,
34- "@types/node" : " ^14.0.1 " ,
35- "fastify" : " ^3.0 .0" ,
33+ "@types/ioredis" : " ^4.19.3 " ,
34+ "@types/node" : " ^14.14.26 " ,
35+ "fastify" : " ^3.11 .0" ,
3636 "proxyquire" : " ^2.1.3" ,
3737 "redis" : " ^3.0.2" ,
3838 "standard" : " ^16.0.0" ,
4141 },
4242 "dependencies" : {
4343 "fastify-plugin" : " ^3.0.0" ,
44- "ioredis" : " ^4.10 .0"
44+ "ioredis" : " ^4.22 .0"
4545 },
4646 "tsd" : {
4747 "directory" : " test/types"
You can’t perform that action at this time.
0 commit comments