From eb2f86a46a89765de3bd32541d3e7043fe236108 Mon Sep 17 00:00:00 2001 From: Ruslan Shestopalyuk Date: Fri, 3 Mar 2023 07:09:02 -0800 Subject: [PATCH] Fix typing for TS AnimatableStringValue (#36366) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36366 ## Changelog: [General][Fixed] - https://github.com/facebook/react-native/pull/36346 added some typing improvements, however there was a typo in `AnimatableStringValue` type definition, that broke tests on CI. Reviewed By: cortinico, cipolleschi, hoxyq Differential Revision: D43770412 fbshipit-source-id: 7b4f234b5cf04df9271e0c98cf51655c87e3bebb --- Libraries/StyleSheet/StyleSheetTypes.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/StyleSheet/StyleSheetTypes.d.ts b/Libraries/StyleSheet/StyleSheetTypes.d.ts index 37c6fea63d6c96..300877f65e8271 100644 --- a/Libraries/StyleSheet/StyleSheetTypes.d.ts +++ b/Libraries/StyleSheet/StyleSheetTypes.d.ts @@ -25,7 +25,7 @@ type DimensionValue = | Animated.AnimatedNode | null; type AnimatableNumericValue = number | Animated.AnimatedNode; -type AnimatableStringValue = number | Animated.AnimatedNode; +type AnimatableStringValue = string | Animated.AnimatedNode; /** * Flex Prop Types