You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
fix build
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const symbol = Symbol('Command Options');
|
||||
|
||||
export type CommandOptions<T> = T & {
|
||||
readonly [symbol]: true
|
||||
readonly [symbol]: true;
|
||||
};
|
||||
|
||||
export function commandOptions<T>(options: T): CommandOptions<T> {
|
||||
|
@@ -5,7 +5,7 @@ import { RedisReply } from './commands';
|
||||
|
||||
export interface QueueCommandOptions {
|
||||
asap?: boolean;
|
||||
signal?: AbortSignal;
|
||||
signal?: any; // TODO: TODO: `AbortSignal` type is incorrect
|
||||
chainId?: symbol;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ interface CommandWaitingToBeSent extends CommandWaitingForReply {
|
||||
encodedCommand: string;
|
||||
chainId?: symbol;
|
||||
abort?: {
|
||||
signal: AbortSignal;
|
||||
signal: any; // TODO: `AbortSignal` type is incorrect
|
||||
listener(): void;
|
||||
};
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@ import EventEmitter from 'events';
|
||||
import net from 'net';
|
||||
import tls from 'tls';
|
||||
import { setTimeout } from 'timers/promises';
|
||||
import { URL } from 'url';
|
||||
|
||||
interface RedisSocketCommonOptions {
|
||||
username?: string;
|
||||
|
1766
package-lock.json
generated
1766
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@@ -32,17 +32,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
||||
"@types/mocha": "^8.2.2",
|
||||
"@types/node": "^15.12.5",
|
||||
"@types/mocha": "^8.2.3",
|
||||
"@types/node": "^16.3.1",
|
||||
"@types/sinon": "^10.0.2",
|
||||
"@types/which": "^2.0.0",
|
||||
"@types/yallist": "^4.0.0",
|
||||
"mocha": "^9.0.1",
|
||||
"@types/which": "^2.0.1",
|
||||
"@types/yallist": "^4.0.1",
|
||||
"mocha": "^9.0.2",
|
||||
"nyc": "^15.1.0",
|
||||
"release-it": "^14.10.0",
|
||||
"sinon": "^11.1.1",
|
||||
"source-map-support": "^0.5.19",
|
||||
"ts-node": "^10.0.0",
|
||||
"ts-node": "^10.1.0",
|
||||
"typescript": "^4.3.5",
|
||||
"which": "^2.0.2"
|
||||
},
|
||||
|
Reference in New Issue
Block a user