Fix type of Easing function to match type in react-native module

This commit is contained in:
ashoat 2017-05-03 14:28:48 -04:00 committed by Satyajit Sahoo
parent 5aaf4a86be
commit d71ed75133

View File

@ -397,7 +397,7 @@ export type NavigationSceneRendererProps = NavigationTransitionProps;
export type NavigationTransitionSpec = {
duration?: number,
// An easing function from `Easing`.
easing?: () => any,
easing?: (t: number) => number,
// A timing function such as `Animated.timing`.
timing?: (value: AnimatedValue, config: any) => any,
};