@samitouri / QOS-React / commits / f2252a2ad4

Try to fix Flow issue on Windows (part 4)

Dan Abramov committed May 15, 2018 at 14:46 UTC f2252a2ad4e47d5bdc1d7778c7d6eb2d318fed0d
3 files changed +3 -3
packages/events/PluginModuleType.js
+1 -1
@@ -12,7 +12,7 @@ import type {
12 DispatchConfig,
13 ReactSyntheticEvent,
14 } from './ReactSyntheticEventType';
15 -import type {TopLevelType} from './TopLevelEventTypes';
15 +import type {TopLevelType} from 'events/TopLevelEventTypes';
16
17 export type EventTypes = {[key: string]: DispatchConfig};
18
packages/events/TopLevelEventTypes.js
+1 -1
@@ -7,7 +7,7 @@
7 * @flow
8 */
9
10 -import type {DOMTopLevelEventType} from '../react-dom/src/events/DOMTopLevelEventTypes';
10 +import type {DOMTopLevelEventType} from 'react-dom/src/events/DOMTopLevelEventTypes';
11
12 type RNTopLevelEventType =
13 | 'topMouseDown'
packages/react-dom/src/events/SimpleEventPlugin.js
+1 -1
@@ -18,7 +18,7 @@ import type {EventTypes, PluginModule} from 'events/PluginModuleType';
18 import {accumulateTwoPhaseDispatches} from 'events/EventPropagators';
19 import SyntheticEvent from 'events/SyntheticEvent';
20
21 -import * as DOMTopLevelEventTypes from './DOMTopLevelEventTypes';
21 +import * as DOMTopLevelEventTypes from 'react-dom/src/events/DOMTopLevelEventTypes';
22 import warning from 'fbjs/lib/warning';
23
24 import SyntheticAnimationEvent from './SyntheticAnimationEvent';