tils-first-weather-widget
Version:
An example development EXB widget (Grant Caroll, spatial-innovation.co.nz)
16 lines (15 loc) • 527 B
TypeScript
import Accessor from "@arcgis/core/core/Accessor.js";
import { IForecast } from "./forecast";
import { ILocationResponse } from "./location-response";
import { ICurrent } from "./weather";
export interface IWeatherResponse {
location: ILocationResponse;
current: ICurrent;
forecast: IForecast;
}
export default class WeatherResponse extends Accessor implements IWeatherResponse {
location: ILocationResponse;
current: ICurrent;
forecast: IForecast;
constructor(weatherResponse: IWeatherResponse);
}