Skip to content

Commit 0377425

Browse files
Fix AureliaSpa TypeScript compile error introduced by newer version of TypeScript
1 parent a3cba50 commit 0377425

File tree

1 file changed

+1
-1
lines changed
  • templates/AureliaSpa/ClientApp/app/components/fetchdata

1 file changed

+1
-1
lines changed

templates/AureliaSpa/ClientApp/app/components/fetchdata/fetchdata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class Fetchdata {
1313
http.fetch('/api/SampleData/WeatherForecasts')
1414
.then(result => result.json())
1515
.then(data => {
16-
this.forecasts = data;
16+
this.forecasts = data as any;
1717
});
1818
}
1919
}

0 commit comments

Comments
 (0)