React-native-fast-image: enum FastImage.cacheControl wrong Type Definitions

Created on 24 Oct 2018  路  3Comments  路  Source: DylanVann/react-native-fast-image

Just a minor issue.

The possible values for source.cache can not be used as shown in the README.md when using Type Script.

The possible Values are defined as
FastImage.cacheControl
in ./src/index.js

but the Types are defined as
FastImage.cache
in ./src/index.d.ts

released

All 3 comments

:tada: This issue has been resolved in version 5.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

same issue in version 8.1.5. Available values for source.cache: 'low' | 'normal' | 'high'

The issue still persist in version 8.1.5!

Was this page helpful?
0 / 5 - 0 ratings