Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
fix: The parameters of the command are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
pikadun committed May 26, 2021
1 parent c014c9d commit e5e5ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/baseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export interface IBaseCommand {
INCRBYFLOAT(key: string, field: string, increment: string): Promise<number>;

INFO(
section: 'all' | 'default' | 'everything' | 'server' | 'clients' | 'memory'
section?: 'all' | 'default' | 'everything' | 'server' | 'clients' | 'memory'
| 'persistence' | 'stats' | 'replication' | 'cpu' | 'commandstats' | 'cluster'
| 'modules' | 'keyspace' | 'errorstats'
): Promise<string>;
Expand Down

0 comments on commit e5e5ab2

Please sign in to comment.