🔨 fixing easing attribute type

This commit is contained in:
Aylan Boscarino 2019-04-14 15:23:34 -03:00
parent 04af6d6a41
commit 070809c314

5
index.d.ts vendored
View File

@ -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())