@@ -146,7 +146,7 @@ function createSyntheticEvent(Interface: EventInterfaceType) {
146146 * @interface Event
147147 * @see http://www.w3.org/TR/DOM-Level-3-Events/
148148 */
149- const EventInterface = {
149+ const EventInterface : EventInterfaceType = {
150150 eventPhase : 0 ,
151151 bubbles : 0 ,
152152 cancelable : 0 ,
@@ -442,7 +442,7 @@ function getEventModifierState(nativeEvent: {[propName: string]: mixed}) {
442442 * @interface KeyboardEvent
443443 * @see http://www.w3.org/TR/DOM-Level-3-Events/
444444 */
445- const KeyboardEventInterface = {
445+ const KeyboardEventInterface : EventInterfaceType = {
446446 ...UIEventInterface ,
447447 key : getEventKey ,
448448 code : 0 ,
@@ -505,7 +505,7 @@ export const SyntheticKeyboardEvent: $FlowFixMe = createSyntheticEvent(
505505 * @interface PointerEvent
506506 * @see http://www.w3.org/TR/pointerevents/
507507 */
508- const PointerEventInterface = {
508+ const PointerEventInterface : EventInterfaceType = {
509509 ...MouseEventInterface ,
510510 pointerId : 0 ,
511511 width : 0 ,
@@ -526,7 +526,7 @@ export const SyntheticPointerEvent: $FlowFixMe = createSyntheticEvent(
526526 * @interface TouchEvent
527527 * @see http://www.w3.org/TR/touch-events/
528528 */
529- const TouchEventInterface = {
529+ const TouchEventInterface : EventInterfaceType = {
530530 ...UIEventInterface ,
531531 touches : 0 ,
532532 targetTouches : 0 ,
@@ -545,7 +545,7 @@ export const SyntheticTouchEvent: $FlowFixMe =
545545 * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
546546 * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
547547 */
548- const TransitionEventInterface = {
548+ const TransitionEventInterface : EventInterfaceType = {
549549 ...EventInterface ,
550550 propertyName : 0 ,
551551 elapsedTime : 0 ,
@@ -559,7 +559,7 @@ export const SyntheticTransitionEvent: $FlowFixMe = createSyntheticEvent(
559559 * @interface WheelEvent
560560 * @see http://www.w3.org/TR/DOM-Level-3-Events/
561561 */
562- const WheelEventInterface = {
562+ const WheelEventInterface : EventInterfaceType = {
563563 ...MouseEventInterface ,
564564 deltaX ( event : { [ propName : string ] : mixed } ) {
565565 return 'deltaX' in event
@@ -594,7 +594,7 @@ const WheelEventInterface = {
594594export const SyntheticWheelEvent : $FlowFixMe =
595595 createSyntheticEvent ( WheelEventInterface ) ;
596596
597- const ToggleEventInterface = {
597+ const ToggleEventInterface : EventInterfaceType = {
598598 ...EventInterface ,
599599 newState : 0 ,
600600 oldState : 0 ,
0 commit comments