Closed AlirezaHadjar closed 5 months ago
I can reproduce this with 6.3.1, while it works with 6.3.0.
https://github.com/callstack/react-native-pager-view/pull/817 has been merged and is in the v6.3.1
tag which I think it a mistake, because it means that 6.3.1 is in equivalent to 7.0.0-rc2?
Pining @troZee here because I do not think this was your intent at all!
any fix??
The same error
I came across this same issue as well. Noticed that on iOS it still seemed to work even with the typescript complaints, but Android was not working anymore on the screens that uses this.
As mentioned previously locking the version to 6.3.0 works.
Hello 👋
@MrRefactor is ill and he will fix that till the end of this week. Please make the useNext
prop as an optional and it should work as a workaround.
@troZee I'm not @MrRefactor but funny enough, "almost am" (look at the nicknames). Please see my PR: https://github.com/callstack/react-native-pager-view/pull/827
This is fixing main
, but you still published a patch release (6.3.1) with the content of main
, which makes it equivalent to a major 7.0.0 release.
When you'll release this fix?
Description
I just noticed that in the latest version, the typescript of this package is not working as expected.
Reproducible Demo
Now you will get this ts error:
'PagerView' refers to a value, but is being used as a type here. Did you mean 'typeof PagerView'