dillon1000/react

Commit

Fix Flow errors in Event Plugins (#7698)

Due to a typo in PR#7667 where I put 'DispatchConfig' when the type was
'EventTypes', there were some flow errors being thrown.

Then PR#7642 fixed a bug in SimpleEventPlugin and added some untyped
methods, which threw more flow errors.

Last, while fixing this, I fixed two eslint errors in the
SimpleEventPlugin test.
Browse files
Changed paths5 files
First-parent comparison
M src/renderers/dom/client/eventPlugins/SimpleEventPlugin.js ModifiedM src/renderers/dom/client/eventPlugins/TapEventPlugin.js ModifiedM src/renderers/dom/client/eventPlugins/__tests__/SimpleEventPlugin-test.js ModifiedM src/renderers/shared/stack/event/PluginModuleType.js ModifiedM src/renderers/shared/stack/reconciler/ReactInstanceType.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…