From e13db7d40974a5a04eab8598292e02b5d7f5bf5a Mon Sep 17 00:00:00 2001 From: Dylan Vann Date: Sun, 30 Dec 2018 21:38:13 -0500 Subject: [PATCH] fix: Fixes cacheControl types. (#382) 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