Templates: update React's component's State and Property type

This commit is contained in:
Stephan
2017-05-04 21:55:58 +02:00
committed by Steve Sanderson
parent 214a908c92
commit f2260d572f
10 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import * as WeatherForecasts from '../store/WeatherForecasts';
type CounterProps = CounterStore.CounterState & typeof CounterStore.actionCreators;
class Counter extends React.Component<CounterProps, void> {
class Counter extends React.Component<CounterProps, {}> {
public render() {
return <div>
<h1>Counter</h1>