fix: Fixes cacheControl types. (#382)

fix #325
This commit is contained in:
Dylan Vann 2018-12-30 21:38:13 -05:00 committed by GitHub
parent 4f4a5b5b1c
commit e13db7d409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

8
src/index.d.ts vendored
View File

@ -130,10 +130,10 @@ interface FastImageStatic extends React.ComponentClass<FastImageProperties> {
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