From af1e563d9c59892bbd3f916d16515effa4030a26 Mon Sep 17 00:00:00 2001 From: Lucas Genzelis Date: Wed, 3 Jun 2020 10:58:37 -0300 Subject: [PATCH] fixes wrong cache type --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 989edbeb1..27f164465 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -31,7 +31,7 @@ const priority = { high: 'high', } as const -type Cache = 'low' | 'normal' | 'high' +type Cache = 'immutable' | 'web' | 'cacheOnly' const cacheControl = { // Ignore headers, use uri as cache key, fetch only if not in cache.