weather-cli-nk_sm
Version:
cli for weather forecast
14 lines (13 loc) • 356 B
TypeScript
import { RequestBody } from './StorageService.js';
declare type APIResult = {
body: any;
type: 'success';
} | {
type: 'error';
};
export default class ErrorHandlerService {
private static res;
static fetchDB(body: RequestBody, successMessage?: string): Promise<any>;
static fetchAPI(): Promise<APIResult>;
}
export {};