Skip to content

Commit

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

## Changelog:

[General][Fixed] -

#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 facebook-github-bot committed Mar 3, 2023
1 parent ec99ba1 commit eb2f86a
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 eb2f86a

Please sign in to comment.