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

@@ -6,7 +6,7 @@ interface FetchDataExampleState {
loading: boolean;
}
export class FetchData extends React.Component<any, FetchDataExampleState> {
export class FetchData extends React.Component<{}, FetchDataExampleState> {
constructor() {
super();
this.state = { forecasts: [], loading: true };