Skip to content

Commit 7f34c86

Browse files
authored
feat: Expand XIdInput to string (#378)
1 parent 3b021dd commit 7f34c86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export type XReadReplyRaw = XReadStreamRaw[];
4343
* which will represent the the epoch Millis with
4444
* seqNo of zero. (Especially useful is to pass 0.)
4545
*/
46-
export type XIdInput = XId | [number, number] | number;
46+
export type XIdInput = XId | [number, number] | number | string;
4747
/**
4848
* ID input type for XADD, which is allowed to include the
4949
* "*" operator. */

0 commit comments

Comments
 (0)