From 03774253eb264b5ba3c79cff87e67d48b2cba102 Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Mon, 28 Nov 2016 17:35:00 +0000 Subject: [PATCH] Fix AureliaSpa TypeScript compile error introduced by newer version of TypeScript --- .../AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts b/templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts index fe9a207e48..f135010f4d 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; }); } }