From 04642bc9f9411b4ef8172d27871044f477d7def9 Mon Sep 17 00:00:00 2001 From: Alec Winograd Date: Thu, 12 Sep 2019 12:20:37 -0500 Subject: [PATCH] Update animate() return type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index fcea064..5019dc5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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