From 3bd067d707fe7e30f886704bf7c2e9171449bd64 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sat, 2 Sep 2017 15:47:37 +0200 Subject: [PATCH] Automatically infer FetchData's new props type --- .../redux/ClientApp/components/FetchData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Microsoft.DotNet.Web.Spa.ProjectTemplates/redux/ClientApp/components/FetchData.tsx b/templates/Microsoft.DotNet.Web.Spa.ProjectTemplates/redux/ClientApp/components/FetchData.tsx index a2a1bdf9..b9d39bb9 100644 --- a/templates/Microsoft.DotNet.Web.Spa.ProjectTemplates/redux/ClientApp/components/FetchData.tsx +++ b/templates/Microsoft.DotNet.Web.Spa.ProjectTemplates/redux/ClientApp/components/FetchData.tsx @@ -70,4 +70,4 @@ class FetchData extends React.Component { export default connect( (state: ApplicationState) => state.weatherForecasts, // Selects which state properties are merged into the component's props WeatherForecastsState.actionCreators // Selects which action creators are merged into the component's props -)(FetchData) as typeof FetchData; +)(FetchData);