You should import it using
import { RedisStore } from 'connect-redis';
Then RedisStore will be treated as a class constructor.