Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Aug 1, 2024
1 parent 03b7f49 commit c8b29bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3505,7 +3505,7 @@ export class BaseClient {
* // Output is 2 since the stream marked 2 entries as deleted.
* ```
*/
public xdel(key: string, ids: string[]): Promise<string> {
public xdel(key: string, ids: string[]): Promise<number> {
return this.createWritePromise(createXDel(key, ids));
}

Expand Down
1 change: 1 addition & 0 deletions node/src/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,7 @@ export class BaseTransaction<T extends BaseTransaction<T>> {
*
* @param key - The key of the stream.
* @param values - field-value pairs to be added to the entry.
* @param options - (Optional) Stream add options.
*
* Command Response - The id of the added entry, or `null` if `options.makeStream` is set to `false` and no stream with the matching `key` exists.
*/
Expand Down

0 comments on commit c8b29bb

Please sign in to comment.