一个babel插件,用于从Flow类型声明中生成ReactPropTypes定义。
例子使用此输出:varReact=require('react');exporttypeQux={baz:'literal'};importtypeSomeExternalTypefrom'./types';typeFooProps={an_optional_string?:string,a_number:number,a_boolean:boolean,a_generic_object:Object,array_of_strings:Array,instance_of_Bar:Bar,anything:any,mixed:mixe
1