@konnec/vue-eloquent
Version:
An interface for Vue and Laravel Eloquent through API
28 lines (27 loc) • 571 B
TypeScript
import { AxiosHeaders } from 'axios';
export interface IAxiosError {
code: string;
config: any;
request: any;
response: {
data?: any;
status?: number;
statusText?: string;
headers?: AxiosHeaders;
config?: any;
request?: any;
};
}
export interface AxiosError extends Error {
code: string;
config: any;
request: any;
response: {
data?: any;
status?: number;
statusText?: string;
headers?: AxiosHeaders;
config?: any;
request?: any;
};
}