import { OnChanges, OnInit } from '@angular/core'; import { OpenWeatherMapService } from '../../service/open-weather-map.service'; import { Coordinates } from '../../service/classes'; import 'rxjs/add/observable/interval'; export declare class CurrentWeatherComponent implements OnInit, OnChanges { private service; city: string; coordinates?: Coordinates; refreshMin?: number; lang?: string; currentWeather: any; constructor(service: OpenWeatherMapService); ngOnInit(): void; ngOnChanges(changes: any): void; /** * function which gets the current weather each x minutes */ private populate(options); }