Skip to content

Commit fecc7eb

Browse files
committed
fix: type name in readme
1 parent 46000f0 commit fecc7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This is useful if you want to store binary data. For example, you can store prot
3838
```ts
3939
import { createRedis } from "redis-on-workers";
4040

41-
const redis = createRedis( "redis://<username>:<password>@<host>:<port>");
41+
const redis = createRedis("redis://<username>:<password>@<host>:<port>");
4242

4343
await redis.sendRaw("SET", "foo", "bar");
4444

@@ -65,7 +65,7 @@ Create a new Redis client, does NOT connect to the server yet, the connection wi
6565

6666
Or you can start connection immediately by using `redis.startConnection()`.
6767

68-
### `RedisOptions`
68+
### `CreateRedisOptions`
6969

7070
- `url` (string): The URL of the Redis server.
7171
- `tls` (boolean): Whether to use TLS. Default: `false`.

0 commit comments

Comments
 (0)