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' ;
2
2
import { Redis , RedisOptions } from 'ioredis' ;
3
3
4
4
declare module 'fastify' {
@@ -9,6 +9,6 @@ declare module 'fastify' {
9
9
10
10
export type FastifyRedisPlugin = RedisOptions & { url ?: string } | { client : Redis }
11
11
12
- declare const fastifyRedis : FastifyPlugin < FastifyRedisPlugin > ;
12
+ declare const fastifyRedis : FastifyPluginCallback < FastifyRedisPlugin > ;
13
13
14
14
export default fastifyRedis ;
Original file line number Diff line number Diff line change 30
30
},
31
31
"homepage" : " https://github.com/fastify/fastify-redis#readme" ,
32
32
"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" ,
36
36
"proxyquire" : " ^2.1.3" ,
37
37
"redis" : " ^3.0.2" ,
38
38
"standard" : " ^16.0.0" ,
41
41
},
42
42
"dependencies" : {
43
43
"fastify-plugin" : " ^3.0.0" ,
44
- "ioredis" : " ^4.10 .0"
44
+ "ioredis" : " ^4.22 .0"
45
45
},
46
46
"tsd" : {
47
47
"directory" : " test/types"
You can’t perform that action at this time.
0 commit comments