mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
Fix type of Easing function to match type in react-native module
This commit is contained in:
parent
5aaf4a86be
commit
d71ed75133
@ -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,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user