import * as redis from 'redis'
import config from '../../config/config'
const client = redis.createClient(config.redis.port, host, config.redis.options);
client.on('ready', () => {
console.log('redis is ready.')
});
getting below error in typescript
[ts] Property 'on' does not exist on type '{ address: any; connection_options: { [x: string]: any; }; connection_id: number; connected: bool...'. any
@types/redis?