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
This commit is contained in:
Ruslan Shestopalyuk 2023-03-03 07:09:02 -08:00 коммит произвёл Facebook GitHub Bot
Родитель ec99ba1413
Коммит eb2f86a46a
1 изменённых файлов: 1 добавлений и 1 удалений

2
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