1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Leibale
2023-11-01 14:09:58 -04:00
parent 817818aa91
commit ebca66d6f6
42 changed files with 1825 additions and 2010 deletions

View File

@@ -1,4 +1,4 @@
import { RedisClientType } from '@redis/client/dist/lib/client/index';
import { RedisClientType } from '@redis/client';
import { RedisArgument, RedisFunctions, RedisScripts } from '@redis/client/dist/lib/RESP/types';
import QUERY, { QueryOptions } from './commands/QUERY';
@@ -132,7 +132,7 @@ type GraphReply<T> = {
type GraphClientType = RedisClientType<{
graph: {
query: typeof QUERY,
roQuery: typeof import('./commands/RO_QUERY').default
roQuery: typeof import('./commands/RO_QUERY.js').default
}
}, RedisFunctions, RedisScripts>;

View File

@@ -9,7 +9,7 @@
"!dist/tsconfig.tsbuildinfo"
],
"scripts": {
"test": "nyc -r text-summary -r lcov mocha -r source-map-support/register -r ts-node/register './lib/**/*.spec.ts'"
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
},
"peerDependencies": {
"@redis/client": "*"