Merge pull request #208 from awinograd/patch-1

Update animate() return type
This commit is contained in:
Markus Lindqvist 2019-09-12 21:38:41 +03:00 committed by GitHub
commit 9bfb51e5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View File

@ -141,7 +141,7 @@ declare module 'react-native-circular-progress' {
* @param {number} duration
* @param {Function} ease
*/
animate: (toVal: number, duration: number, ease?: Function) => void;
animate: (toVal: number, duration: number, ease?: Function) => Animated.CompositeAnimation;
/**
* Re-run animation with a specified prefill-value