1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

export missing graph types

This commit is contained in:
Guy Korland
2023-11-20 20:42:35 +02:00
committed by GitHub
parent 0ee3278085
commit 9ed9cb5be9

View File

@@ -126,11 +126,11 @@ type GraphValue = null | string | number | boolean | Array<GraphValue> | {
longitude: string;
};
type GraphReply<T> = Omit<QueryReply, 'headers' | 'data'> & {
export type GraphReply<T> = Omit<QueryReply, 'headers' | 'data'> & {
data?: Array<T>;
};
type GraphClientType = RedisClientType<{
export type GraphClientType = RedisClientType<{
graph: {
query: typeof import('./commands/QUERY'),
roQuery: typeof import('./commands/RO_QUERY')