From e098cb5b4ad01183b8e5039612e4ff9b1fbf3da9 Mon Sep 17 00:00:00 2001 From: Edoardo Scibona <12040076+velut@users.noreply.github.com> Date: Thu, 18 Apr 2024 01:44:42 +0200 Subject: [PATCH] feat: add explicit key and value types for cache --- src/fetch-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetch-data.ts b/src/fetch-data.ts index 4167484..c30fd6a 100644 --- a/src/fetch-data.ts +++ b/src/fetch-data.ts @@ -7,7 +7,7 @@ Internal cache for all requests. @see {@link https://github.com/sindresorhus/quick-lru} @internal */ -export const cache = new QuickLRU({ +export const cache = new QuickLRU({ // 100 items. maxSize: 100,