Flowify a bunch of Libraries

This commit is contained in:
Marshall Roch
2015-03-24 18:33:05 -07:00
parent d71bfa104d
commit 9eec8aa9d5
9 changed files with 69 additions and 21 deletions

View File

@@ -7,6 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactIOSNativeComponent
* @flow
*/
'use strict';
@@ -28,13 +29,20 @@ var registrationNames = ReactIOSEventEmitter.registrationNames;
var putListener = ReactIOSEventEmitter.putListener;
var deleteAllListeners = ReactIOSEventEmitter.deleteAllListeners;
type ReactIOSNativeComponentViewConfig = {
validAttributes: Object;
uiViewClassName: string;
}
/**
* @constructor ReactIOSNativeComponent
* @extends ReactComponent
* @extends ReactMultiChild
* @param {!object} UIKit View Configuration.
*/
var ReactIOSNativeComponent = function(viewConfig) {
var ReactIOSNativeComponent = function(
viewConfig: ReactIOSNativeComponentViewConfig
) {
this.viewConfig = viewConfig;
};