Skip to content

Commit

Permalink
Fix typing for TS AnimatableStringValue
Browse files Browse the repository at this point in the history
Summary:
## 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: dc54a3593989050f5680c67c67fb61ed7d367c2f
  • Loading branch information
rshest authored and facebook-github-bot committed Mar 3, 2023
1 parent ec99ba1 commit 290a40f
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
Expand Up @@ -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
Expand Down

0 comments on commit 290a40f

Please sign in to comment.