Skip to content

Commit

Permalink
Fix Flow type for AnyNativeEvent (#18266)
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Mar 10, 2020
1 parent bdc5cc4 commit 704c8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy-events/PluginModuleType.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type {EventSystemFlags} from 'legacy-events/EventSystemFlags';

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

export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | Touch;
export type AnyNativeEvent = Event | KeyboardEvent | MouseEvent | TouchEvent;

export type PluginName = string;

Expand Down

0 comments on commit 704c8b0

Please sign in to comment.