• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

redis / ioredis / 21950029217 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 12 Feb 2026 02:13PM UTC
Files 36
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Feb 2026 10:42AM UTC coverage: 89.139%. Remained the same
21950029217.1

push

github

web-flow
fix(types): optional properties on RedisOptions allow explicit undefined (#2066)

* optional properties on RedisOptions, SentinelConnectionOptions, ClusterOptions

when exactOptionalPropertyTypes is true in the consuming application's tsconfig, you cannot send in an explicit undefined for these fields, causing the developer to jump through extra hoops needlessly to get i.e. the username and password provided to the options in a type-safe manner. This fix corrects this by explicitly specifying undefined as an allowed type on the username and password properties within RedisOptions, SentinelConnectionOptions, and ClusterOptions.

```ts
new Redis({
  ...
  password: process.env.REDIS_PASSWORD,
})
```

* fix: add missing | undefined to remaining optional properties

---------

Co-authored-by: Pavel Pashov <pavel.pashov@redis.com>

1303 of 1521 branches covered (85.67%)

Branch coverage included in aggregate %.

2497 of 2742 relevant lines covered (91.06%)

12166.21 hits per line

Source Files on job node-24.x - 21950029217.1
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21950029217
  • 0a1a8982 on github
  • Prev Job for on main (#21861667519.1)
  • Next Job for on main (#21950436732.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc