Skip to content

Commit

Permalink
Add numbers and non-node values to concat type (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-deutsch authored and osdnk committed Apr 19, 2019
1 parent 6034fda commit 7d3eced
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-native-reanimated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ declare module 'react-native-reanimated' {
sourceNode: Adaptable<number>,
): AnimatedNode<number>;
export function concat(
a: AnimatedNode<string>,
b: AnimatedNode<string>,
...others: AnimatedNode<string>[],
a: Adaptable<string> | Adaptable<number>,
b: Adaptable<string> | Adaptable<number>,
...others: Array<Adaptable<string> | Adaptable<number>>,
): AnimatedNode<string>;
export function cond(
conditionNode: Adaptable<number>,
Expand Down

0 comments on commit 7d3eced

Please sign in to comment.