Skip to content

Commit

Permalink
Update animate() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
awinograd authored Sep 12, 2019
1 parent 72e1d2d commit 04642bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04642bc

Please sign in to comment.