weather-cli-nk_sm
Version:
cli for weather forecast
16 lines (15 loc) • 410 B
TypeScript
export declare enum DBKeys {
API_KEY = "API_KEY",
CITY = "CITY"
}
export declare type RequestBody = {
key: DBKeys;
value?: any;
};
export default class StorageService {
private static filePath;
private static fileIsReady;
private static isExist;
static get(key: string): Promise<string | undefined>;
static post({ key, value }: RequestBody): Promise<void>;
}