Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/SETNX.d.ts
2025-11-11 12:36:06 +07:00

16 lines
601 B
TypeScript

import { CommandParser } from '../client/parser';
import { RedisArgument, NumberReply } from '../RESP/types';
declare const _default: {
/**
* Constructs the SETNX command
*
* @param parser - The command parser
* @param key - The key to set if it doesn't exist
* @param value - The value to set
* @see https://redis.io/commands/setnx/
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, value: RedisArgument) => void;
readonly transformReply: () => NumberReply;
};
export default _default;
//# sourceMappingURL=SETNX.d.ts.map