Created
August 18, 2019 17:02
-
-
Save NovoManu/c2bac9d9239d2f1a8e1a30caaec45afa to your computer and use it in GitHub Desktop.
This file contains 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 { BaseApi } from '@/api/baseApi' | |
import { FetchApi } from '@/api/fetchApi' | |
import { AxiosApi } from '@/api/axiosApi' | |
export class Api extends BaseApi { | |
private provider: any = new AxiosApi() | |
async fetch(url: string): Promise<any> { | |
return await this.provider.fetch(url) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment