From fb5276c1897982f0be96f2e7074d839ae8fffdc8 Mon Sep 17 00:00:00 2001 From: Eli White Date: Fri, 11 Oct 2019 09:44:48 -0700 Subject: [PATCH] Remove duplicate flow type for TouchableProps Summary: These are already defined as part of ViewProps. They don't need to be duplicated Reviewed By: lunaleaps Differential Revision: D17859553 fbshipit-source-id: c3de534526efd94c0a9ff2c772a4d92c6164815b --- Libraries/Components/ScrollView/ScrollView.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index a99f54eb226..121772fa7b9 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -80,14 +80,6 @@ export type ScrollResponderType = { ...typeof ScrollResponder.Mixin, }; -type TouchableProps = $ReadOnly<{| - onTouchStart?: (event: PressEvent) => void, - onTouchMove?: (event: PressEvent) => void, - onTouchEnd?: (event: PressEvent) => void, - onTouchCancel?: (event: PressEvent) => void, - onTouchEndCapture?: (event: PressEvent) => void, -|}>; - type IOSProps = $ReadOnly<{| /** * Controls whether iOS should automatically adjust the content inset @@ -383,7 +375,6 @@ type StickyHeaderComponentType = React.ComponentType