Skip to content

Commit

Permalink
fix: Fixes cacheControl types. (#382)
Browse files Browse the repository at this point in the history
fix #325
  • Loading branch information
DylanVann authored Dec 31, 2018
1 parent 4f4a5b5 commit e13db7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e13db7d

Please sign in to comment.