Fix state initializers in react-tests.ts (Fixes #3855)

This commit is contained in:
Vincent Siao
2015-03-14 15:29:15 -07:00
parent ffedf917df
commit 0213f7c10e
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ interface TimerState {
secondsElapsed: number;
}
class Timer extends React.Component<React.Props<Timer>, TimerState> {
static state = {
state = {
secondsElapsed: 0
}
private _interval: number;