import type { User } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' const getUserInfo = (http: HttpClient) => { return { query: (): Promise< Response, undefined, ApiError> > => { return http.get('v3/user/informations') }, } } export default getUserInfo