@samitouri / QOS-React / commits / 704c8b0118

Fix Flow type for AnyNativeEvent (#18266)

Dominic Gannaway committed Mar 10, 2020 at 10:46 UTC 704c8b01186128ea544b017f8e0ed48ba0295701
1 file changed +1 -1
packages/legacy-events/PluginModuleType.js
+1 -1
@@ -17,7 +17,7 @@ import type {EventSystemFlags} from 'legacy-events/EventSystemFlags';
17
18 export type EventTypes = {[key: string]: DispatchConfig, ...};
19
20 -export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | Touch;
20 +export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | TouchEvent;
21
22 export type PluginName = string;
23