Skip to content

Commit

Permalink
fix: Fixes cacheControl types.
Browse files Browse the repository at this point in the history
fix #325
  • Loading branch information
keima authored and DylanVann committed Dec 31, 2018
1 parent 4f4a5b5 commit 6d11b4a
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 6d11b4a

Please sign in to comment.