mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-18 04:13:51 +08:00
Update FBSource to use Flow 0.22
Reviewed By: gabelevi Differential Revision: D3021265 fb-gh-sync-id: f4c857505c1a7b6b813bcdccd629e595ef7a81af shipit-source-id: f4c857505c1a7b6b813bcdccd629e595ef7a81af
This commit is contained in:
committed by
Facebook Github Bot 2
parent
dc4d4863a2
commit
b473d496c4
@@ -29,7 +29,7 @@ var invariant = require('fbjs/lib/invariant');
|
||||
import type { Example, ExampleModule } from 'ExampleTypes';
|
||||
|
||||
var createExamplePage = function(title: ?string, exampleModule: ExampleModule)
|
||||
: ReactClass<any, any, any> {
|
||||
: ReactClass<any> {
|
||||
invariant(!!exampleModule.examples, 'The module must have examples');
|
||||
|
||||
var ExamplePage = React.createClass({
|
||||
|
||||
Reference in New Issue
Block a user