@mugan86/openweather-api
Version:
Openweather Api Project in Node Typescript
24 lines (23 loc) • 589 B
TypeScript
/**
* Manage cities info
*/
export declare class CitiesService {
/**
* Take cities list from constants
*/
list: import("../interfaces/list.interface").ListData;
/**
* Take available cities list
* @param json Return in JSON or no. Default "true"
*/
getList(json?: boolean): any;
/**
* Show cities list available in library by default
*/
printCitiesList(): void;
/**
* Use exist List in library to take select city object info
* @param name Name of city to take all info
*/
selectCity(name: string): any;
}