From 6d11b4a7ec48dba43c9271d55d6c8e0f068f5690 Mon Sep 17 00:00:00 2001 From: Kouta Imanaka Date: Mon, 31 Dec 2018 11:02:22 +0900 Subject: [PATCH] fix: Fixes cacheControl types. fix #325 --- src/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index eca7894b7..20fce12f9 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -130,10 +130,10 @@ interface FastImageStatic extends React.ComponentClass { high: FastImage.priority.high } - cache: { - cacheOnly: FastImage.cache.cacheOnly - immutable: FastImage.cache.immutable - web: FastImage.cache.web + cacheControl: { + cacheOnly: FastImage.cacheControl.cacheOnly + immutable: FastImage.cacheControl.immutable + web: FastImage.cacheControl.web } preload(sources: FastImageSource[]): void