We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef5fdd0 commit 6c98271Copy full SHA for 6c98271
packages/idempotency/src/types/CachePersistence.ts
@@ -25,16 +25,11 @@ interface CacheClient {
25
* @param name - The key to set
26
* @param value - The value to set
27
* @param options - Optional parameters for setting the value
28
- * @param options.EX - Set the specified expire time, in seconds (a positive integer)
29
- * @param options.NX - Only set the key if it does not already exist
30
*/
31
set(
32
name: CacheValue,
33
value: unknown,
34
- options?: {
35
- EX?: number;
36
- NX?: boolean;
37
- }
+ options?: unknown
38
): Promise<CacheValue | null>;
39
40
/**
0 commit comments