From acfeaa6869b8e03563d0d74b07b0192210227bc7 Mon Sep 17 00:00:00 2001 From: Ed Bassett Date: Sat, 1 Jul 2017 15:25:52 +1000 Subject: [PATCH] Fix Easing interface, elastic should be a function As described in the docs, `elastic` should take a value representing the bounciness of the easing function: https://facebook.github.io/react-native/docs/easing.html --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 17e15ae698..e1cc0daa3c 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -7708,7 +7708,7 @@ export interface EasingStatic { sin: EasingFunction; circle: EasingFunction; exp: EasingFunction; - elastic: EasingFunction; + elastic(bounciness: number): EasingFunction; back(s: number): EasingFunction; bounce: EasingFunction; bezier(x1: number,