@samitouri / QOS-React-2 / commits / 46f5251c66

Remove @typechecks

These don't really do anything. ``` codemod.py -d src --extensions js -m '\s* \* @typechecks.*?\n' '\n' ``` with "yes to all".

Ben Alpert committed Dec 10, 2015 at 11:25 UTC 46f5251c66dcb0895743db02265c07320d0a6089
55 files changed -55
src/addons/link/LinkedStateMixin.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule LinkedStateMixin
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/addons/link/ReactLink.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactLink
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/addons/transitions/ReactCSSTransitionGroup.js
-1
@@ -6,7 +6,6 @@
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 - * @typechecks
9 * @providesModule ReactCSSTransitionGroup
10 */
11
src/addons/transitions/ReactCSSTransitionGroupChild.js
-1
@@ -6,7 +6,6 @@
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 - * @typechecks
9 * @providesModule ReactCSSTransitionGroupChild
10 */
11
src/addons/transitions/ReactTransitionChildMapping.js
-1
@@ -6,7 +6,6 @@
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 - * @typechecks static-only
9 * @providesModule ReactTransitionChildMapping
10 */
11
src/isomorphic/classic/element/ReactDOMFactories.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactDOMFactories
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/isomorphic/deprecated/cloneWithProps.js
-1
@@ -6,7 +6,6 @@
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 - * @typechecks static-only
9 * @providesModule cloneWithProps
10 */
11
src/renderers/dom/client/ReactBrowserEventEmitter.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactBrowserEventEmitter
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/ReactDOMIDOperations.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactDOMIDOperations
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/ReactEventListener.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactEventListener
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/ReactReconcileTransaction.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactReconcileTransaction
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/eventPlugins/BeforeInputEventPlugin.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule BeforeInputEventPlugin
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/eventPlugins/EnterLeaveEventPlugin.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule EnterLeaveEventPlugin
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/eventPlugins/FallbackCompositionState.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule FallbackCompositionState
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/eventPlugins/TapEventPlugin.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule TapEventPlugin
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/findDOMNode.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule findDOMNode
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticClipboardEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticClipboardEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticCompositionEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticCompositionEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticDragEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticDragEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticFocusEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticFocusEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticInputEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticInputEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticKeyboardEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticKeyboardEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticMouseEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticMouseEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticTouchEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticTouchEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticUIEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticUIEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/syntheticEvents/SyntheticWheelEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule SyntheticWheelEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/utils/DOMChildrenOperations.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule DOMChildrenOperations
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/utils/getEventCharCode.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule getEventCharCode
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/utils/getEventKey.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule getEventKey
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/utils/getEventModifierState.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule getEventModifierState
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/utils/getEventTarget.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule getEventTarget
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/wrappers/AutoFocusUtils.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule AutoFocusUtils
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/client/wrappers/LinkedValueUtils.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule LinkedValueUtils
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/server/ReactServerBatchingStrategy.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactServerBatchingStrategy
10 - * @typechecks
10 */
11
12 'use strict';
src/renderers/dom/server/ReactServerRendering.js
-1
@@ -6,7 +6,6 @@
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 - * @typechecks static-only
9 * @providesModule ReactServerRendering
10 */
11 'use strict';
src/renderers/dom/server/ReactServerRenderingTransaction.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactServerRenderingTransaction
10 - * @typechecks
10 */
11
12 'use strict';
src/renderers/dom/shared/CSSPropertyOperations.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule CSSPropertyOperations
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/shared/DOMProperty.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule DOMProperty
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/shared/DOMPropertyOperations.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule DOMPropertyOperations
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/shared/Danger.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule Danger
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/shared/ReactDOMComponent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactDOMComponent
10 - * @typechecks static-only
10 */
11
12 /* global hasOwnProperty:true */
src/renderers/dom/shared/ReactDOMTextComponent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactDOMTextComponent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/dom/shared/dangerousStyleValue.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule dangerousStyleValue
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/event/EventPluginRegistry.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule EventPluginRegistry
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/event/eventPlugins/ResponderSyntheticEvent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ResponderSyntheticEvent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/reconciler/ReactChildReconciler.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactChildReconciler
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/reconciler/ReactInstanceHandles.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactInstanceHandles
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/reconciler/ReactMultiChild.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactMultiChild
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/reconciler/instantiateReactComponent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule instantiateReactComponent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/renderers/shared/reconciler/shouldUpdateReactComponent.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule shouldUpdateReactComponent
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/shared/utils/ReactErrorUtils.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactErrorUtils
10 - * @typechecks
10 */
11
12 'use strict';
src/shared/utils/getIteratorFn.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule getIteratorFn
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/test/ReactDefaultPerf.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactDefaultPerf
10 - * @typechecks static-only
10 */
11
12 'use strict';
src/test/ReactPerf.js
-1
@@ -7,7 +7,6 @@
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 * @providesModule ReactPerf
10 - * @typechecks static-only
10 */
11
12 'use strict';