You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix(search): fix types for sort (#2343)
This commit is contained in:
committed by
GitHub
parent
da3face951
commit
ab69c81c36
@@ -134,8 +134,8 @@ export enum RedisSearchLanguages {
|
||||
|
||||
export type PropertyName = `${'@' | '$.'}${string}`;
|
||||
|
||||
export type SortByProperty = PropertyName | {
|
||||
BY: PropertyName;
|
||||
export type SortByProperty = string | {
|
||||
BY: string;
|
||||
DIRECTION?: 'ASC' | 'DESC';
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user