Skip to content

Commit ba6ecad

Browse files
fix: add missing type to hrandfield (#1028)
* fix: add missing type to hrandfield * ci: increase test timeout
1 parent 8895aca commit ba6ecad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: bun run fmt
3535

3636
- name: Run tests
37-
run: bun test pkg --bail
37+
run: bun test pkg --bail --timeout 20000
3838

3939
- name: Build
4040
run: bun run build

pkg/redis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ export class Redis {
641641
* @see https://redis.io/commands/hrandfield
642642
*/
643643
hrandfield: {
644-
(key: string): Promise<string>;
644+
(key: string): Promise<string | null>;
645645
(key: string, count: number): Promise<string[]>;
646646
<TData extends Record<string, unknown>>(
647647
key: string,

0 commit comments

Comments
 (0)