diff --git a/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts b/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts index fe9a207..f135010 100644 --- a/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts +++ b/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts @@ -13,7 +13,7 @@ export class Fetchdata { http.fetch('/api/SampleData/WeatherForecasts') .then(result => result.json()) .then(data => { - this.forecasts = data; + this.forecasts = data as any; }); } }