Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Redis, RedisOptions } from "ioredis";
- declare module 'egg' {
- // extend app
- interface Application {
- redis: Redis;
- }
- // extend your config
- interface EggAppConfig {
- redis: RedisOptions;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement