From 070809c314ced4bbd725a40685f8510d1450d3d4 Mon Sep 17 00:00:00 2001 From: Aylan Boscarino Date: Sun, 14 Apr 2019 15:23:34 -0300 Subject: [PATCH] :hammer: fixing easing attribute type --- index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index cdc2ca3..17a1a82 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,3 @@ - declare module 'react-native-circular-progress' { import React from 'react'; import { Animated, Easing } from 'react-native'; @@ -100,10 +99,10 @@ declare module 'react-native-circular-progress' { /** * - * @type {(param: any) => any} + * @type {Function} * @default Easing.out(Easing.ease) */ - easing?: (param: any) => any; + easing?: () => void; /** * Function that's invoked when the animation completes (both on mount and if called with .animate())