UNPKG

oauth-v2-client

Version:
9 lines (8 loc) 318 B
import { AxiosError } from "axios"; import RequestOptions from "./RequestOptions"; declare type ClientCredentialsGrantFuncTyle<T = any> = { requestOptions?: RequestOptions; onSuccess?: (data: T) => void; onError?: (error: AxiosError<any>) => void; }; export default ClientCredentialsGrantFuncTyle;