Add numbers and non-node values to concat type (#249)

This commit is contained in:
Jeremy Deutsch
2019-04-18 23:54:18 -07:00
committed by Michał Osadnik
parent 6034fdae45
commit 7d3ecedfb6

View File

@@ -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>,