Manual fixes to cycles for xplat
Summary: Add annotations to xplat to break cycles Changelog: [internal] Reviewed By: SamChou19815 Differential Revision: D41111962 fbshipit-source-id: f268871cbaae5bc51d6f576d9c0697e637dea5d1
This commit is contained in:
Родитель
f4098a5acc
Коммит
1bf610d06c
|
@ -176,7 +176,7 @@ type ActiveCallback = (
|
||||||
|
|
||||||
type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;
|
type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;
|
||||||
|
|
||||||
type PanHandlers = {|
|
export type PanHandlers = {|
|
||||||
onMoveShouldSetResponder: (event: PressEvent) => boolean,
|
onMoveShouldSetResponder: (event: PressEvent) => boolean,
|
||||||
onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,
|
onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,
|
||||||
onResponderEnd: (event: PressEvent) => void,
|
onResponderEnd: (event: PressEvent) => void,
|
||||||
|
|
|
@ -191,7 +191,7 @@ type ActiveCallback = (
|
||||||
|
|
||||||
type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;
|
type PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;
|
||||||
|
|
||||||
type PanHandlers = {|
|
export type PanHandlers = {|
|
||||||
onMoveShouldSetResponder: (event: PressEvent) => boolean,
|
onMoveShouldSetResponder: (event: PressEvent) => boolean,
|
||||||
onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,
|
onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,
|
||||||
onResponderEnd: (event: PressEvent) => void,
|
onResponderEnd: (event: PressEvent) => void,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче