Unflowify shims

This commit is contained in:
Dan Abramov
2017-03-24 16:22:05 +00:00
parent a57e1403d9
commit bd4ff9d6bf
40 changed files with 4 additions and 47 deletions
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMProperty
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginHub
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginUtils
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPropagators
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule PooledClass
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactBrowserEventEmitter
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactChildren
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCurrentOwner
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMComponentTree
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMInputSelection
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelection
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactErrorUtils
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactFiberErrorLogger
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInputSelection
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInstanceMap
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPerf
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactTestUtils
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticEvent
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticKeyboardEvent
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticMouseEvent
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticUIEvent
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ViewportMetrics
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule adler32
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule findDOMNode
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule flattenChildren
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getComponentName
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventCharCode
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventKey
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventTarget
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getVendorPrefixedEventName
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isEventSupported
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setInnerHTML
* @flow
*/
'use strict';
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setTextContent
* @flow
*/
'use strict';
-1
View File
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDebugTool
* @flow
*/
'use strict';
-1
View File
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactErrorUtils
* @flow
*/
'use strict';
-1
View File
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPerf
* @flow
*/
'use strict';
-1
View File
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule TouchHistoryMath
* @flow
*/
'use strict';
@@ -21,10 +21,6 @@ var ViewportMetrics = require('ViewportMetrics');
var isStartish = EventPluginUtils.isStartish;
var isEndish = EventPluginUtils.isEndish;
import type {EventTypes, PluginModule} from 'PluginModuleType';
import type {ReactInstance} from 'ReactInstanceType';
import type {TopLevelTypes} from 'EventConstants';
/**
* We are extending the Flow 'Touch' declaration to enable using bracket
* notation to access properties.
@@ -99,7 +95,7 @@ var dependencies = ['topMouseDown', 'topMouseMove', 'topMouseUp'].concat(
touchEvents,
);
var eventTypes: EventTypes = {
var eventTypes = {
touchTap: {
phasedRegistrationNames: {
bubbled: 'onTouchTap',
@@ -113,14 +109,14 @@ var usedTouch = false;
var usedTouchTime = 0;
var TOUCH_DELAY = 1000;
var TapEventPlugin: PluginModule<_Touch> = {
var TapEventPlugin = {
tapMoveThreshold: tapMoveThreshold,
eventTypes: eventTypes,
extractEvents: function(
topLevelType: TopLevelTypes,
targetInst: ReactInstance,
topLevelType: mixed,
targetInst: mixed,
nativeEvent: _Touch,
nativeEventTarget: EventTarget,
) {
-1
View File
@@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule flattenChildren
* @flow
*/
'use strict';
-1
View File
@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
* @providesModule getComponentName
*/