Skip to content

Commit 704c8b0

Browse files
authored
Fix Flow type for AnyNativeEvent (#18266)
1 parent bdc5cc4 commit 704c8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)