mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Try to fix Flow issue on Windows (part 4)
This commit is contained in:
@@ -12,7 +12,7 @@ import type {
|
||||
DispatchConfig,
|
||||
ReactSyntheticEvent,
|
||||
} from './ReactSyntheticEventType';
|
||||
import type {TopLevelType} from './TopLevelEventTypes';
|
||||
import type {TopLevelType} from 'events/TopLevelEventTypes';
|
||||
|
||||
export type EventTypes = {[key: string]: DispatchConfig};
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import type {DOMTopLevelEventType} from '../react-dom/src/events/DOMTopLevelEventTypes';
|
||||
import type {DOMTopLevelEventType} from 'react-dom/src/events/DOMTopLevelEventTypes';
|
||||
|
||||
type RNTopLevelEventType =
|
||||
| 'topMouseDown'
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import type {EventTypes, PluginModule} from 'events/PluginModuleType';
|
||||
import {accumulateTwoPhaseDispatches} from 'events/EventPropagators';
|
||||
import SyntheticEvent from 'events/SyntheticEvent';
|
||||
|
||||
import * as DOMTopLevelEventTypes from './DOMTopLevelEventTypes';
|
||||
import * as DOMTopLevelEventTypes from 'react-dom/src/events/DOMTopLevelEventTypes';
|
||||
import warning from 'fbjs/lib/warning';
|
||||
|
||||
import SyntheticAnimationEvent from './SyntheticAnimationEvent';
|
||||
|
||||
Reference in New Issue
Block a user