Created
February 20, 2019 07:43
-
-
Save DotCoyote/c92557113de20c3fcc66f70512c63c7f to your computer and use it in GitHub Desktop.
Api Types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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