File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,20 @@ import {
18
18
enableGestureTransition ,
19
19
} from 'shared/ReactFeatureFlags' ;
20
20
21
+ type onStartTransitionFinish = ( Transition , mixed ) => void ;
22
+ type onStartGestureTransitionFinish = (
23
+ Transition ,
24
+ GestureProvider ,
25
+ ?GestureOptions ,
26
+ transitionTypes : null | TransitionTypes ,
27
+ ) => ( ) => void ;
28
+
21
29
export type SharedStateClient = {
22
30
H : null | Dispatcher , // ReactCurrentDispatcher for Hooks
23
31
A : null | AsyncDispatcher , // ReactCurrentCache for Cache
24
32
T : null | Transition , // ReactCurrentBatchConfig for Transitions
25
- S : null | ( ( Transition , mixed ) => void ) , // onStartTransitionFinish
26
- G :
27
- | null
28
- | ( (
29
- Transition ,
30
- GestureProvider ,
31
- ?GestureOptions ,
32
- transitionTypes : null | TransitionTypes ,
33
- ) => ( ) => void ) , // onStartGestureTransitionFinish
33
+ S : null | onStartTransitionFinish ,
34
+ G : null | onStartGestureTransitionFinish ,
34
35
V : null | TransitionTypes , // Pending Transition Types for the Next Transition
35
36
36
37
// DEV-only
You can’t perform that action at this time.
0 commit comments