Fix errors uncovered by v0.19.0

Reviewed By: mroch

Differential Revision: D2706663

fb-gh-sync-id: 017c91bab849bf18767cacd2ebe32d1a1b10c715
This commit is contained in:
Gabe Levi
2015-12-01 19:09:01 -08:00
committed by facebook-github-bot-9
parent d4d41f9523
commit 892dd5b86a
24 changed files with 168 additions and 41 deletions

View File

@@ -24,8 +24,15 @@ var deepDiffer = require('deepDiffer');
var TEST_PAYLOAD = {foo: 'bar'};
type AppEvent = { data: Object, ts: number, };
type State = {
sent: 'none' | AppEvent,
received: 'none' | AppEvent,
elapsed?: string,
};
var AppEventsTest = React.createClass({
getInitialState: function() {
getInitialState(): State {
return {sent: 'none', received: 'none'};
},
componentDidMount: function() {