import axios , { AxiosResponse } from "axios" ; import { IUser } from "../models/IUser" ; export default class UserService { static async getUsers ( ) { return axios . get < IUser [ ] > ( './users.json' ) ; } }