import * as React from 'react'; import './index.scss'; export interface WeatherProps { style?: 'object'; typeSetting?: 'string'; } export default class Weather extends React.PureComponent { state: { obj: { city: string; weather: string; temperature: string; winddirection: string; }; weatherClass: string; windpower: string; twoWeather: { arr: any[]; city: string; }; }; props: any; setState: any; constructor(props: any); componentDidMount(): void; getWeatherData: (typeSetting: any) => void; componentWillReceiveProps(nextProps: any): void; render(): JSX.Element; }