Skip to content

Commit

Permalink
fix: type name in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Oct 16, 2024
1 parent 46000f0 commit fecc7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This is useful if you want to store binary data. For example, you can store prot
```ts
import { createRedis } from "redis-on-workers";

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

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

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

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

### `RedisOptions`
### `CreateRedisOptions`

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

0 comments on commit fecc7eb

Please sign in to comment.