Skip to content

Commit e271083

Browse files
committed
Fix Flow type for AnyNativeEvent
1 parent bdc5cc4 commit e271083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/legacy-events/PluginModuleType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type {EventSystemFlags} from 'legacy-events/EventSystemFlags';
1717

1818
export type EventTypes = {[key: string]: DispatchConfig, ...};
1919

20-
export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | Touch;
20+
export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | TouchEvent;
2121

2222
export type PluginName = string;
2323

0 commit comments

Comments
 (0)