Как вернуть ответ от Axios в машинописном виде?
#javascript #reactjs #typescript #react-hooks Вопрос: У меня есть этот код type UserService = { getUserRole: () => string } const auth = useAuth(); const useUserService: UserService = { getUserRole: ()…