mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix missing animation type (CircleCI Break)
Summary: Accidentally added a reference to a flow type that doesn't exist in TS. This should fix the issue. Changelog: [General][Fixed] - Fix missing animation type Reviewed By: christophpurrer Differential Revision: D42043293 fbshipit-source-id: 03470aa25f503337e9e2b79cf74cff96c15a4ad8
This commit is contained in:
committed by
Riccardo Cipolleschi
parent
f9ab91c3ab
commit
696f4b5c39
Vendored
+11
@@ -116,6 +116,17 @@ export namespace Animated {
|
||||
|
||||
type ValueListenerCallback = (state: {value: number}) => void;
|
||||
|
||||
type Animation = {
|
||||
start(
|
||||
fromValue: number,
|
||||
onUpdate: (value: number) => void,
|
||||
onEnd: EndCallback | null,
|
||||
previousAnimation: Animation | null,
|
||||
animatedValue: AnimatedValue,
|
||||
): void;
|
||||
stop(): void;
|
||||
};
|
||||
|
||||
/**
|
||||
* Standard value for driving animations. One `Animated.Value` can drive
|
||||
* multiple properties in a synchronized fashion, but can only be driven by one
|
||||
|
||||
Reference in New Issue
Block a user