When using react-native-swiper in a TypeScript project, I should be able to enable the loadMinimal prop and specify the loadMinimalSize as a number. I should also be able to specify loadMinimalLoader as anything renderable by React.
Actual behaviour
TypeScript compilation fails because loadMinimalSizeand loadMinimalLoader are both declared as boolean types in index.d.ts.
Which OS ?
N/A
Version
Which versions are you using:
Expected behaviour
When using react-native-swiper in a TypeScript project, I should be able to enable the
loadMinimal
prop and specify theloadMinimalSize
as a number. I should also be able to specifyloadMinimalLoader
as anything renderable by React.Actual behaviour
TypeScript compilation fails because
loadMinimalSize
andloadMinimalLoader
are both declared asboolean
types in index.d.ts.How to reproduce it
N/A