Skip to content

Commit

Permalink
Fix cacheControl types on FastImageStatic.cache (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
keima authored and DylanVann committed Dec 31, 2018
1 parent 35e6ea9 commit b4fe8d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ interface FastImageStatic extends React.ComponentClass<FastImageProperties> {
}

cache: {
cacheOnly: FastImage.cache.cacheOnly
immutable: FastImage.cache.immutable
web: FastImage.cache.web
cacheOnly: FastImage.cacheControl.cacheOnly
immutable: FastImage.cacheControl.immutable
web: FastImage.cacheControl.web
}

preload(sources: FastImageSource[]): void
Expand Down

0 comments on commit b4fe8d2

Please sign in to comment.