From 93bc107787a958a93fa605d66264d6ce899a1212 Mon Sep 17 00:00:00 2001 From: Ruslan Hontar Date: Fri, 9 Jun 2023 15:33:31 +0300 Subject: [PATCH] add export to Cache type --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 478c629e9..eccbd1ae6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -34,7 +34,7 @@ const priority = { high: 'high', } as const -type Cache = 'immutable' | 'web' | 'cacheOnly' +export type Cache = 'immutable' | 'web' | 'cacheOnly' const cacheControl = { // Ignore headers, use uri as cache key, fetch only if not in cache.