Fix AureliaSpa TypeScript compile error introduced by newer version of TypeScript
This commit is contained in:
parent
a3cba50e88
commit
03774253eb
|
|
@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue