import axios from "axios"; export class Fetcher { static get = (url: string, timeout?: number, headers?: Record) => axios.get(url, { timeout, headers }); }