Skip to content

Instantly share code, notes, and snippets.

@DotCoyote
Created February 20, 2019 07:43
Show Gist options
  • Save DotCoyote/c92557113de20c3fcc66f70512c63c7f to your computer and use it in GitHub Desktop.
Save DotCoyote/c92557113de20c3fcc66f70512c63c7f to your computer and use it in GitHub Desktop.
Api Types
import { AxiosRequestConfig, AxiosResponse } from 'axios'
export class ApiResponse implements AxiosResponse {
data: any
status: number
statusText: string
headers: any
config: AxiosRequestConfig
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment