Skip to content

Commit 51479ff

Browse files
authored
fix: missing staleTtl in type definition (#85)
fixes #84
1 parent 8adbfdb commit 51479ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ declare namespace CacheableResponse {
5959

6060
/** ttl default to 7200000 */
6161
ttl?: number;
62+
63+
/** ttl default to 3600000 */
64+
staleTtl?: number | boolean;
6265

6366
/** Compress opts pass through to compress-brotli */
6467
serialize?: (o: any) => string;

0 commit comments

Comments
 (0)