From d87b269a5450d8d5240b4edcace2df47137c9c07 Mon Sep 17 00:00:00 2001 From: Gaspard Beernaert Date: Wed, 29 Jan 2025 12:26:58 +0100 Subject: [PATCH] docs: update ioredis import Since https://github.com/redis/ioredis/pull/1695 the best way to import ioredis and satisfy types is to use this syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f639b94..b757a89 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ The basic usage is great for development and you will be able to connect to a Re ```javascript import { RedisPubSub } from 'graphql-redis-subscriptions'; -import * as Redis from 'ioredis'; +import { Redis } from 'ioredis'; const options = { host: REDIS_DOMAIN_NAME,