From eb2a4df590a5958955e1ad727651de386bfa43a7 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Wed, 9 Feb 2022 13:57:41 +0100 Subject: [PATCH 001/124] Add EasingFactoryFunction type to .d.ts (#2979) ## Description Fixes * #2971 ## Changes Updated TS types definition in [react-native-reanimated.d.ts](https://github.com/software-mansion/react-native-reanimated/blob/main/react-native-reanimated.d.ts) ### Before ![image](https://user-images.githubusercontent.com/50801299/153204844-888501cb-c009-4691-9046-ba55b4525bb8.png) ### After No such error ## Test code and steps to reproduce ```js import Animated, { useSharedValue, withTiming, useAnimatedStyle, Easing, } from 'react-native-reanimated'; import { View, Button } from 'react-native'; import React from 'react'; export function TestScreen() { const randomWidth = useSharedValue(10); const config = { duration: 500, easing: Easing.bezier(0.5, 0.01, 0, 1), }; const style = useAnimatedStyle(() => { return { width: withTiming(randomWidth.value, config), }; }); return (