const getUser = (id: number) =>
  client
    .get<never, AxiosResponse<SerializedUser>>(elementEndpoint(id))
    .then(response => response.data)