Skip to content

Commit 6c98271

Browse files
committed
chore: types
1 parent ef5fdd0 commit 6c98271

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/idempotency/src/types/CachePersistence.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@ interface CacheClient {
2525
* @param name - The key to set
2626
* @param value - The value to set
2727
* @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
3028
*/
3129
set(
3230
name: CacheValue,
3331
value: unknown,
34-
options?: {
35-
EX?: number;
36-
NX?: boolean;
37-
}
32+
options?: unknown
3833
): Promise<CacheValue | null>;
3934

4035
/**

0 commit comments

Comments
 (0)