Skip to content

Commit

Permalink
Fix typing for TS AnimatableStringValue (facebook#36366)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#36366

## Changelog:

[General][Fixed] -

facebook#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
  • Loading branch information
rshest authored and OlimpiaZurek committed May 22, 2023
1 parent 44199d8 commit d6f3a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/StyleSheet/StyleSheetTypes.d.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d6f3a75

Please sign in to comment.