Skip to content

Commit e13db7d

Browse files
authored
fix: Fixes cacheControl types. (DylanVann#382)
fix DylanVann#325
1 parent 4f4a5b5 commit e13db7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ interface FastImageStatic extends React.ComponentClass<FastImageProperties> {
130130
high: FastImage.priority.high
131131
}
132132

133-
cache: {
134-
cacheOnly: FastImage.cache.cacheOnly
135-
immutable: FastImage.cache.immutable
136-
web: FastImage.cache.web
133+
cacheControl: {
134+
cacheOnly: FastImage.cacheControl.cacheOnly
135+
immutable: FastImage.cacheControl.immutable
136+
web: FastImage.cacheControl.web
137137
}
138138

139139
preload(sources: FastImageSource[]): void

0 commit comments

Comments
 (0)