Closed evelant closed 4 years ago
I don't use TS for any of my projects and someone else added the .d.ts via pull request, I just accepted it as provided. Unfortunately, that means I have no clue how to help you here, but if you can figure it out I'd happily take a pull request.
OK, not sure when I'll have time to get to it but I'll try. As a workaround I just changed the animationConfig to {duration: 100, toValue: 100}
and that makes the RN animatable types happy.
Just converted the whole thing to typescript, so this should be fixed. Re-open if it is still an issue.
Setting animationConfig to
{duration: 100}
results in a TS error. Maybe something changed on the RN side of the type definitions?react-native
version: 0.60.5react-native-popover-view
version: 2.0.5typescript
version: 3.6.3edit: small additional unrelated TS issue, Popover.MODE constants aren't in the .d.ts file resulting in TS errors when they are referenced.