Skip to content

Commit

Permalink
make 'start' required for BitOffsetOptions
Browse files Browse the repository at this point in the history
Signed-off-by: James Xin <james.xin@improving.com>
  • Loading branch information
jamesx-improving committed Sep 26, 2024
1 parent 8e8749e commit 4a8fa90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/src/Commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2489,9 +2489,9 @@ export function createFunctionRestore(
*/
export interface BitOffsetOptions {
/** The starting offset index. */
start?: number;
start: number;
/**
* The ending offset index. Optional since Valkey version 8.0 and above.
* The ending offset index. Optional since Valkey version 8.0 and above for the BITCOUNT command.
* If not provided, it will default to the end of the string.
* Could be defined only if `start` is defined.
*/
Expand Down

0 comments on commit 4a8fa90

Please sign in to comment.