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:
Jeff Morrison
2016-03-08 12:38:52 -08:00
committed by Facebook Github Bot 2
parent dc4d4863a2
commit b473d496c4
18 changed files with 93 additions and 16 deletions

View File

@@ -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({